POST /shipping-rate-carriers.json
Body Required
-
carrierType string | null
Carrier type
-
dropshipProviderId integer(int32) | null
Dropship provider
-
externalId string | null
External
-
Filter carrier
Default value is
true
. -
Filter integrations
Values are
all
orselected
. Default value isall
. -
Filter service levels
Values are
all
,selected
, orexclude
. Default value isall
. -
integrations array[string] | null
Integrations
-
name string | null
Name
-
Platform
Values are
shippo
,postmen
, ormanual
. Default value ismanual
. -
serviceLevels array[string] | null
Service levels
-
shippingIntegrationId integer(int32) | null
Shipping integration
-
shippingRateId integer(int32) | null
Shipping rate
-
shippingRateZoneId integer(int32) | null
Shipping rate zone
POST /shipping-rate-carriers.json
curl \
-X POST http://api.example.com/v1/shipping-rate-carriers.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"carrierType":"string","dropshipProviderId":42,"externalId":"string","filterCarrier":true,"filterIntegrations":"all","filterServiceLevels":"all","integrations":["string"],"name":"string","platform":"manual","serviceLevels":["string"],"shippingIntegrationId":42,"shippingRateId":42,"shippingRateZoneId":42}'
Request example
{
"carrierType": "string",
"dropshipProviderId": 42,
"externalId": "string",
"filterCarrier": true,
"filterIntegrations": "all",
"filterServiceLevels": "all",
"integrations": [
"string"
],
"name": "string",
"platform": "manual",
"serviceLevels": [
"string"
],
"shippingIntegrationId": 42,
"shippingRateId": 42,
"shippingRateZoneId": 42
}
Response examples (200)
{
"carrierType": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"externalId": "string",
"filterCarrier": true,
"filterIntegrations": "all",
"filterServiceLevels": "all",
"id": 42,
"integrations": [
"string"
],
"name": "string",
"platform": "manual",
"serviceLevels": [
"string"
],
"shippingIntegrationId": 42,
"shippingRateId": 42,
"shippingRateZoneId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00"
}