/shipping-rates

POST {{baseUrl}}/shipping-rates

Creates a new shipping rate

Request Body

{"country"=>"<integer>", "state"=>"<integer>", "name"=>"<string>", "criteria"=>"<string>", "from"=>"<integer>", "to"=>"<integer>", "cost"=>"<integer>", "vatExclusive"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;country&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;iso&quot;:&quot;\u003cstring\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;}