POST /platform-shipping-mappings.json
Body Required
-
Dropship provider
-
fromProvider string | null
From provider
-
fromServiceLevel string | null
From service level
-
toCode string | null
To code
-
toProvider string | null
To provider
-
toServiceLevel string | null
To service level
POST
/platform-shipping-mappings.json
curl \
-X POST http://api.example.com/v1/platform-shipping-mappings.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"dropshipProviderId":42,"fromProvider":"string","fromServiceLevel":"string","toCode":"string","toProvider":"string","toServiceLevel":"string"}'
Request example
{
"dropshipProviderId": 42,
"fromProvider": "string",
"fromServiceLevel": "string",
"toCode": "string",
"toProvider": "string",
"toServiceLevel": "string"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"fromProvider": "string",
"fromServiceLevel": "string",
"id": 42,
"toCode": "string",
"toProvider": "string",
"toServiceLevel": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}