DSVs can update cost for items in bulk with the DSV Cost API (BETA).
Using the JSON schema, you can update an array of cost objects that include item SKU, item Unit Cost, and ShipNode to indicate the Distributor ID.
Prerequisite: Obtain API usage approval
To get approval to use the DSV Cost API, See Request approval to use Cost API. If you do not have access approved, when you make a call toDSV Cost API (BETA), it will return an error.
Call DSV Cost API
To update the item cost, use DSV Cost API (BETA). Call POST /v3/feeds
and specify the required parameter feedType
set to “cost” to indicate the type of feed content will be item cost. For example: POST /v3/feeds?feedType=cost
For more details, including request parameters, sample responses, and JSON schema field descriptions see POST Cost API in the Reference.
Example: Sample Request Payload
{
"header": {
"version": "1.0"
},
"Cost": [
{
"sku": "1487132332472",
"shipNode": "82374285488579",
"unitCost": {
"amount": 9.99,
"currency": "USD"
}
},
{
"sku": "GUS25667",
"shipNode": "82374285488579",
"unitCost": {
"amount": 4,
"currency": "USD"
}
}
]
}