Date and time when the reissued quote expires. A new expiration time must be later than the current time. If this field is null or omitted and the current expiration time has not passed, the current expiration time is retained. If this field is null or omitted and the current expiration time has passed, the quote expires one month after it is reissued.
Reissues an expired, canceled, or rejected quote with a specified ID. This operation assigns the quote the status of issued, clears the canceledTime and rejectedTime fields, and resets the fulfilled acceptance conditions. If the request omits expirationTime and the current expiration time has not passed, the current expiration time is retained. If the request omits expirationTime and the current expiration time has passed, the quote expires one month after it is reissued.
This operation restores the voided quotation invoice to the quotation status, and recalculates the invoice from the current quote items and order. Reissuing a quote triggers the same webhooks, rules, and timeline entries as issuing it. To reissue a change or reactivation quote, the order must still allow that quote type, and no other draft or issued quote may exist for the same order.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/quotes/{id}/reissue
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/quotes/{id}/reissue
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/quotes/{id}/reissue
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/quotes/{id}/reissue' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"expirationTime": "2019-08-24T14:15:22Z"
}'Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Number of requests still available for this rate limit. For more information, see Rate limits.
| Enum Value | Description |
|---|---|
| draft | |
| issued | |
| accepted | |
| rejected | |
| canceled | |
| expired |
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
Date and time when the quote expires. A new or updated expiration time must be later than the current time. The default expiration time is one month from the time the quote is issued. In a draft state, this field may be null.
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": { "id": "ord_01HVKA5975PJBSQ1SX72G3MSZC", "items": [ … ], "autopay": false, "shipping": { … }, "deliveryAddress": { … }, "billingAddress": { … }, "startTime": "2019-08-24T14:15:22Z", "isLegacy": true }, "invoicePreview": { "currency": "USD", "initialAmounts": { … }, "recurringAmounts": { … }, "items": [ … ] }, "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": { "showWrittenSignatureLines": false, "organizationPrintedName": null }, "tax": { "calculator": "manual", "amount": 0.1, "items": [ … ] }, "couponIds": [ "string" ], "_links": [ { … } ], "_embedded": { "customer": {}, "website": {}, "order": {}, "invoice": {} } }