Use quote operations to create and manage quotations. Quotations describe the cost of goods or services to potential customers before they commit to a purchase. A quote contains an initial invoice preview that can be accepted to become an order.
A quote can contain subscription and one-time sale items. When a quote contains one or more subscription items, it is a subscription order quote.
Retrieves a list of quotes.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/quotes
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/quotes
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/quotes
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/quotes?filter=string&sort=string&limit=0&offset=0&expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of quotes retrieved.
Total number of items that match the request. The value is independent of limit, including when limit is 0.
Type of the quote. When a quote is accepted, a new order is created.
ID of the payment invoice.
Status of the quote.
| Enum Value | Description |
|---|---|
| draft | Quote can be edited. This quote cannot be sent to a customer. |
| issued | Quote cannot be edited. This quote can be sent to a customer. |
| accepted | Customer accepted the quote and created an order. |
| rejected | Customer rejected the quote. |
| canceled | Organization or customer canceled the quote. |
| expired | Expired before customer or organization interaction. |
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
ID of the customer resource.
Date and time when the quote expires. The default expiration time is one month from the time the quote is issued. In a draft state, this field may be null.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
URL to redirect the customer to when a quote is rejected. The default value is the website URL.
List of coupons to redeem on the customer and apply to the related invoice.
For more information, see Coupons.
[ { "id": "qt_01HXBZMEGPETPHJZH6V4RHBMA8", "type": "creation", "acceptanceFulfillment": [ … ], "isNewOrder": true, "invoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "status": "draft", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "order": { … }, "invoicePreview": { … }, "paymentTerms": "string", "expirationTime": "2019-08-24T14:15:22Z", "issuedTime": "2019-08-24T14:15:22Z", "acceptedTime": "2019-08-24T14:15:22Z", "rejectedTime": "2019-08-24T14:15:22Z", "canceledTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "redirectUrl": "http://example.com", "signature": { … }, "tax": { … }, "couponIds": [ … ], "_links": [ … ], "_embedded": { … } } ]