List Cost Periods
GET {{SL_BASE_URL}}/api/cogs/cost-periods?seller_id=<string>&marketplace_id=<string>&sku=<string>
This endpoint is to provide list of all cost periods existing on a product along with their relevant details. The endpoint need you to input product's sku, asin or parent_asin (any one) for which you want to get the list.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
seller_id | string | (Required) The Amazon Seller ID | |
marketplace_id | string | (Required) The Amazon Marketplace ID | |
sku | string | (Optional) The product SKU at Amazon / SL | |
Required if not asin or parent_asin | |||
asin | string | (Optional) The product ASIN at Amazon / SL | |
Required if not sku or parent_asin provided | |||
parent_asin | string | (Optional) The products' ParentASIN at Amazon / SL | |
Required if not sku or asin provided |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | Required |
RESPONSES
status: OK
[{"product_sku":"MyProductSKUxxx","asin":"B0xxxxxxxx","parent_asin":null,"internal_name":null,"title":"[product title here]","data":[{"dates":{"from_date":"2021-01-01","to_date":"2022-12-31"},"cost_elements":[{"cost_element":"Pick and Pack","provider":"","notes":"","total_amount":2.1,"currency":"USD","conversion_rate":1,"units":1,"amount":2.1},{"cost_element":"Shipping Charge","provider":"","notes":"","total_amount":3.18,"currency":"USD","conversion_rate":1,"units":1,"amount":3.18}]},{"dates":{"from_date":"2020-09-01","to_date":"2020-12-31"},"cost_elements":[{"cost_element":"Delivery Charge","provider":"","notes":"","total_amount":5.28,"currency":"USD","conversion_rate":1,"units":1,"amount":5.28}]}]}]