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