Fulfillment & ShippingZones
Update shipping zone
Updates a shipping zone: the set of areas that share the same rates.
Path Parameters
id*string
Unique identifier of the resource.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.ecomiq.pe/api/v1/shipping/zones/7204558912004321806" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "code": "POL-001", "name": "Envío estándar", "description": "Polo de algodón pima para uso diario.", "countryCodes": [ "Envío estándar" ], "provinceCodes": [ "Envío estándar" ], "cityNames": [ "Envío estándar" ], "districtNames": [ "Envío estándar" ], "postalCodes": [ "15074" ] }'Empty