/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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;country&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;},&quot;state&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;criteria&quot;:&quot;\u003cstring\u003e&quot;,&quot;from&quot;:&quot;\u003cinteger\u003e&quot;,&quot;to&quot;:&quot;\u003cinteger\u003e&quot;,&quot;cost&quot;:&quot;\u003cinteger\u003e&quot;,&quot;vatExclusive&quot;:&quot;\u003cboolean\u003e&quot;}