PUT /shipping-rate-carriers/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
carrierType string | null
Carrier type
-
createdAt string(date-time)
Created at
-
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
. -
id integer(int32)
Id
-
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
-
updatedAt string(date-time)
Updated at
PUT /shipping-rate-carriers/{id}.json
curl \
-X PUT http://api.example.com/v1/shipping-rate-carriers/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}