Update a shipping zone

PUT https://api.ecartapi.com/api/v2/shippings/zones/{{id}}

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"zone":{"id":22,"name":"prueba2","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"}]}}