Create a shipping zone

POST https://api.ecartapi.com/api/v2/shippings/zones

Request Body

{"zone"=>{"name"=>"prueba", "order"=>"10"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"zone":{"id":22,"name":"prueba","order":10,"self":[{"href":"https://woocommerce2.envia.com/wp-json/wc/v3/shipping/zones/22"}],"collection":[{"href":"https://woocommerce2.envia.com/wp-json/wc/v3/shipping/zones"}],"describedBy":[{"href":"https://woocommerce2.envia.com/wp-json/wc/v3/shipping/zones/22/locations"}]}}