POST /shipping-rate-mappings.json
POST
/shipping-rate-mappings.json
Body Required
-
channelServiceLevel string Required
Channel service level
-
provider string | null
Provider
Values are
usps
,fedex
, orups
. -
serviceLevel string Required
Service level
POST /shipping-rate-mappings.json
curl \
-X POST http://api.example.com/v1/shipping-rate-mappings.json \
-H "Content-Type: application/json" \
-d '{"channelServiceLevel":"string","provider":"usps","serviceLevel":"string"}'
Request example
{
"channelServiceLevel": "string",
"provider": "usps",
"serviceLevel": "string"
}
Response examples (200)
{
"channelServiceLevel": "string",
"createdAt": "2023-05-04T09:42:00+00:00",
"id": 42,
"provider": "usps",
"serviceLevel": "string",
"updatedAt": "2023-05-04T09:42:00+00:00"
}