/shipping-rates/{id}
PUT {{baseUrl}}/shipping-rates/:id
Updates a shipping rate. All object properties are allowed except the country property
Request Body
{"postcodes"=>"<integer>", "state"=>"<integer>", "name"=>"<string>", "criteria"=>"<string>", "from"=>"<integer>", "to"=>"<integer>", "cost"=>"<integer>", "vatExclusive"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":"\u003cinteger\u003e","country":{"id":"\u003cinteger\u003e"},"state":{"id":"\u003cinteger\u003e"},"name":"\u003cstring\u003e","criteria":"\u003cstring\u003e","from":"\u003cinteger\u003e","to":"\u003cinteger\u003e","cost":"\u003cinteger\u003e","vatExclusive":"\u003cboolean\u003e"}