PUT /sale-shipping-rates/{id}.json

PUT /sale-shipping-rates/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

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 number Required

    Price

  • provider string | null

    Provider

  • saleId integer(int32) Required

    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 \
 --request PUT 'http://api.example.com/v1/sale-shipping-rates/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"basePrice":42.0,"createdAt":"2025-05-04T09:42:00Z","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":"2025-05-04T09:42:00Z"}'
Request examples
{
  "basePrice": 42.0,
  "createdAt": "2025-05-04T09:42:00Z",
  "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": "2025-05-04T09:42:00Z"
}