Body
Required
-
Countries
-
Country scope
Values are
all,domestic,international,selected, orexcluded. Default value isall. -
Created at
-
Dropship provider filter
Values are
all,include, orexclude. Default value isall. -
Id
-
Name
-
Type
Values are
purchase,purchase_item, orpurchase_shipping_rate. Default value ispurchase_item. -
Updated at
-
Value
-
Value type
Values are
absoluteorpercentage.
PUT
/landed-costs/{id}.json
curl \
--request PUT 'http://api.example.com/v1/landed-costs/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"countries":["string"],"countryScope":"all","createdAt":"2025-05-04T09:42:00Z","dropshipProviderFilter":"all","id":42,"name":"string","type":"purchase_item","updatedAt":"2025-05-04T09:42:00Z","value":42.0,"valueType":"absolute"}'
Request examples
{
"countries": [
"string"
],
"countryScope": "all",
"createdAt": "2025-05-04T09:42:00Z",
"dropshipProviderFilter": "all",
"id": 42,
"name": "string",
"type": "purchase_item",
"updatedAt": "2025-05-04T09:42:00Z",
"value": 42.0,
"valueType": "absolute"
}