API reference · Quotes

List Pending Quotes

GEThttps://api.sandbox.cws.digital/partnerBudgets/pending

Description

Lists the open quote requests for your store — quotation requests that customers made for products you sell and that have not been answered yet.

Each item brings the product, the requested quantity and the customer's location, which is what you need to price it.

Parameters

Query parameters

FieldTypeRequiredDescriptionValue
limitintegerNo

Quotes per page. Default 5, maximum 50 — a value above that is reduced to 50, without error.

offsetintegerNo

First quote of the page. Default 0.

customerTypestringNo

Filters by customer type: PF or PJ. When omitted, it brings both.

Business rules

Without pending quotes, the response is 422

When there is nothing to answer, the response is 422 with the message Não existem orçamentos pendentes. It is also what you get when the offset goes past the last quote.

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/partnerBudgets/pending?limit=5&offset=0' \
  --header 'Authorization: Bearer <access_token>'

Response

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