POST /shipping-rate-mappings.json

POST /shipping-rate-mappings.json
application/json

Body Required

  • channelServiceLevel string Required

    Channel service level

  • provider string | null

    Provider

    Values are usps, fedex, or ups.

  • serviceLevel string Required

    Service level

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelServiceLevel string Required

      Channel service level

    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • provider string | null

      Provider

      Values are usps, fedex, or ups.

    • serviceLevel string Required

      Service level

    • updatedAt string(date-time)

      Updated at

POST /shipping-rate-mappings.json
curl \
 --request POST 'http://api.example.com/v1/shipping-rate-mappings.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelServiceLevel":"string","provider":"usps","serviceLevel":"string"}'
Request examples
{
  "channelServiceLevel": "string",
  "provider": "usps",
  "serviceLevel": "string"
}
Response examples (200)
{
  "channelServiceLevel": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "id": 42,
  "provider": "usps",
  "serviceLevel": "string",
  "updatedAt": "2025-05-04T09:42:00Z"
}