PUT /landed-costs/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
countries array[string] | null
Countries
-
Country scope
Values are
all
,domestic
,international
,selected
, orexcluded
. Default value isall
. -
createdAt string(date-time)
Created at
-
Dropship provider filter
Values are
all
,include
, orexclude
. Default value isall
. -
id integer(int32)
Id
-
Name
-
Type
Values are
purchase
,purchase_item
, orpurchase_shipping_rate
. Default value ispurchase_item
. -
updatedAt string(date-time)
Updated at
-
Value
-
Value type
Values are
absolute
orpercentage
.
PUT /landed-costs/{id}.json
curl \
-X PUT http://api.example.com/v1/landed-costs/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"countries":["string"],"countryScope":"all","createdAt":"2024-05-04T09:42:00+00:00","dropshipProviderFilter":"all","id":42,"name":"string","type":"purchase_item","updatedAt":"2024-05-04T09:42:00+00:00","value":42.0,"valueType":"absolute"}'
Request example
{
"countries": [
"string"
],
"countryScope": "all",
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderFilter": "all",
"id": 42,
"name": "string",
"type": "purchase_item",
"updatedAt": "2024-05-04T09:42:00+00:00",
"value": 42.0,
"valueType": "absolute"
}