API reference · Quotes

Get Quote by Order ID

GEThttps://api.sandbox.cws.digital/partnerBudgetsByPartnerOrder/{partnerOrderId}

Description

Returns the quotes that originated an order. Use it when you receive an order and need to trace which quotation it came from — the price and the lead time you provided in the quote are here.

Parameters

Path parameters

FieldTypeRequiredDescriptionValue
partnerOrderIdintegerYes

Id of the order, not of the quote. It is the id of the Orders endpoints, and the same value that appears in partnerOrderId in the quote.

Business rules

The response is a list

An order may have originated from more than one quote — one per quoted item. Expect an array even when there is only one.

Responses

  • 401

    Missing, malformed or expired token.

Try it

Sandbox

Language

Credentials

Access token: saved in this tab and used on every endpoint.

Each token only reaches the partner's own data and that of the branches with an authorized link.

Don't have sandbox credentials yet? See how to request them

Request

cURL
curl --request GET \
  --url 'https://api.sandbox.cws.digital/partnerBudgetsByPartnerOrder/900201' \
  --header 'Authorization: Bearer <access_token>'

Response

Click Try it to see the real response here, or pick a documented example: