PUT /sale-shipping-rates/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
basePrice number | null
Base price
-
createdAt string(date-time) | null
Created at
-
days integer(int32) | null
Days
-
dropshipProviderId integer(int32) | null
Dropship provider
-
durationTerms string | null
Duration terms
-
fullPrice number | null
Full price
-
id integer(int32)
Id
-
Price
-
provider string | null
Provider
-
Sale
-
saleInvoiceId integer(int32) | null
Sale invoice
-
saleItemId integer(int32) | null
Sale item
-
serviceCode string | null
Service code
-
serviceLevel string | null
Service level
-
serviceLevelTerms string | null
Service level terms
-
serviceLevelToken string | null
Service level token
-
shippingRateCacheId integer(int32) | null
Shipping rate cache
-
shippingRateId integer(int32) | null
Shipping rate
-
source string | null
Source
-
tax number | null
Tax
-
updatedAt string(date-time) | null
Updated at
PUT
/sale-shipping-rates/{id}.json
curl \
-X PUT http://api.example.com/v1/sale-shipping-rates/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"basePrice":42.0,"createdAt":"2024-05-04T09:42:00+00:00","days":42,"dropshipProviderId":42,"durationTerms":"string","fullPrice":42.0,"id":42,"price":42.0,"provider":"string","quoteId":{},"saleId":42,"saleInvoiceId":42,"saleItemId":42,"serviceCode":"string","serviceLevel":"string","serviceLevelTerms":"string","serviceLevelToken":"string","shippingRateCacheId":42,"shippingRateId":42,"source":"string","tax":42.0,"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"basePrice": 42.0,
"createdAt": "2024-05-04T09:42:00+00:00",
"days": 42,
"dropshipProviderId": 42,
"durationTerms": "string",
"fullPrice": 42.0,
"id": 42,
"price": 42.0,
"provider": "string",
"quoteId": {},
"saleId": 42,
"saleInvoiceId": 42,
"saleItemId": 42,
"serviceCode": "string",
"serviceLevel": "string",
"serviceLevelTerms": "string",
"serviceLevelToken": "string",
"shippingRateCacheId": 42,
"shippingRateId": 42,
"source": "string",
"tax": 42.0,
"updatedAt": "2024-05-04T09:42:00+00:00"
}