Body
Required
-
shippingRateZoneId
integer(int32) Required Shipping rate zone
-
variantId
integer(int32) Required Variant
POST
/shipping-rate-zone-variants.json
curl \
--request POST 'http://api.example.com/v1/shipping-rate-zone-variants.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"shippingRateZoneId":42,"variantId":42}'
Request examples
{
"shippingRateZoneId": 42,
"variantId": 42
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"shippingRateZoneId": 42,
"updatedAt": "2025-05-04T09:42:00Z",
"variantId": 42
}