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

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

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /purchase-shipping-rates/{id}.json
curl \
 -X PUT http://api.example.com/v1/purchase-shipping-rates/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"createdAt":"2024-05-04T09:42:00+00:00","days":42,"dropshipmentId":42,"durationTerms":"string","fullPrice":42.0,"id":42,"invoiceEligibility":"eligible","invoiceShipping":false,"invoiceShippingType":"addition","price":42.0,"provider":"string","purchaseId":42,"purchaseInvoiceId":42,"ratePurpose":"label","serviceCode":"string","serviceLevel":"string","serviceLevelTerms":"string","serviceLevelToken":"string","shippingCommission":0,"shippingRateId":42,"targetPrice":42.0,"tax":42.0,"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "days": 42,
  "dropshipmentId": 42,
  "durationTerms": "string",
  "fullPrice": 42.0,
  "id": 42,
  "invoiceEligibility": "eligible",
  "invoiceShipping": false,
  "invoiceShippingType": "addition",
  "price": 42.0,
  "provider": "string",
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "ratePurpose": "label",
  "serviceCode": "string",
  "serviceLevel": "string",
  "serviceLevelTerms": "string",
  "serviceLevelToken": "string",
  "shippingCommission": 0,
  "shippingRateId": 42,
  "targetPrice": 42.0,
  "tax": 42.0,
  "updatedAt": "2024-05-04T09:42:00+00:00"
}