POST /sale-shipping-rates.json

POST /sale-shipping-rates.json
application/json

Body Required

Responses

POST /sale-shipping-rates.json
curl \
 -X POST http://api.example.com/v1/sale-shipping-rates.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"basePrice":42.0,"days":42,"dropshipProviderId":42,"durationTerms":"string","fullPrice":42.0,"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}'
Request example
{
  "basePrice": 42.0,
  "days": 42,
  "dropshipProviderId": 42,
  "durationTerms": "string",
  "fullPrice": 42.0,
  "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
}
Response examples (200)
{
  "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"
}