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.
Retrieves an upcoming invoice for a specified order.
An upcoming invoice is an invoice that has not been issued. It functions as a preview of the next invoice for the order. For more information, see Invoices.
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.
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/orders/{id}/upcoming-invoice?expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'{ "id": "in_0YVF9605RKC62BP14NE2R7V2XT", "currency": "USD", "revision": 0, "items": [ { … } ], "amount": 0.1, "amountDue": 0.1, "subtotalAmount": 0.1, "discountAmount": 0.1, "shipping": { "amount": 0.1, "calculator": "manual" }, "tax": { "calculator": "manual", "amount": 0.1, "items": [ … ] }, "discounts": [ { … } ], "issuedTime": "2019-08-24T14:15:22Z", "isNewOrder": true, "dueTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }