shipping_weight_tiers
Update a shipping weight tier
Changed onUpdate a shipping weight tier
patch/shipping_weight_tiers/{shippingWeightTierId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/shipping_weight_tiers/{shippingWeightTierId}
- AuthHTTP bearer
Path parameters
shippingWeightTierIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"name": "Light shipping under 3kg",
"up_to": 20.5,
"price_amount_cents": 1000,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"shipping_method": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The updated shipping weight tier object
Changes
- info
endpoint added
- info