POST /purchase-shipping-rates.json

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

Body Required

Responses

POST /purchase-shipping-rates.json
curl \
 --request POST 'http://api.example.com/v1/purchase-shipping-rates.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"days":42,"dropshipmentId":42,"durationTerms":"string","fullPrice":42.0,"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}'
Request examples
{
  "days": 42,
  "dropshipmentId": 42,
  "durationTerms": "string",
  "fullPrice": 42.0,
  "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
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "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": "2025-05-04T09:42:00Z"
}