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.
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.
Expand a response to receive a full related object in the _embedded path.
To expand multiple objects, use a comma-separated list. Example: expand=customer,activationInvoice.
Available arguments are:
customeractivationInvoicerecentInvoiceupcomingInvoicepaymentInstrumentwebsiteFor more information, see Embedded resources.
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/orders?filter=string&sort=string&limit=0&offset=0&q=string&expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Total number of items that match the request. The value is independent of limit, including when limit is 0.
Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.
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 most recently issued invoice. The invoice might not be paid yet.
Details of the trial. To use plan defaults, omit the trial key or set this value to null.
Specifies if a subscription ends after a trial period. If this value is true, recurring settings are ignored.
Invoice issue time shift interval in ISO-8601 format.
This field adjusts the issue date and time of renewal invoices for the order.
This interval value supports the - symbol.
Invoice due time shift interval in ISO-8601 format.
Use this field to adjust when payment is due for the order. If autopay is configured, payment is collected automatically on this date.
This interval value supports the + symbol.
Sandbox recurring order retention. In the sandbox environment, a recurring order is canceled 90 days after it is created or on the start date of the policy, whichever is later, unless the order is retained or the organization is excluded from the policy. This property is returned in the sandbox environment only, for recurring orders. In the live environment, if the request includes this property with a value, a validation error is returned. A null value in a request does not update the property.
Length of time, in ISO-8601 durations format, which is added to the due time of the order when setting the delinquency time for all related invoices. When the delinquency time of an invoice is reached, the order is automatically canceled.
If the provided value is null, the order does not change state.
Date and time when the subscription starts. If this value is null, the current time is used. This value cannot be more than one service period in the past.
Specifies if payment attempts are made automatically. If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at paymentInstrumentId, or the default payment instrument on the order.
Date and time when the pending order is automatically abandoned. If this value is not passed during order creation, a pending order TTL setting is used to calculate the value.
Category of the cancellation.
The sandbox-retention value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
Subtotal of line items in this order (signed value). If credits exceed debits, this value is a negative number.
[ { "id": "ord_01HVKA5975PJBSQ1SX72G3MSZC", "type": "recurring", "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "activationInvoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "recentInvoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "status": "pending", "inTrial": true, "trial": { … }, "isTrialOnly": false, "trialConversionTime": "2019-08-24T14:15:22Z", "items": [ … ], "invoiceIssueTimeShift": "+P00Y00M00DT00H00M00S", "invoiceDueTimeShift": "+P00Y00M00DT00H00M00S", "paymentInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "poNumber": "PO123456", "sandboxRetention": { … }, "notes": "string", "billingAddress": { … }, "deliveryAddress": { … }, "delinquencyPeriod": "+P00Y00M07DT00H00M00S", "riskMetadata": { … }, "startTime": null, "activationTime": "2019-08-24T14:15:22Z", "currency": "USD", "shipping": { … }, "autopay": true, "abandonTime": "2019-08-24T14:15:22Z", "abandonReminderTime": "2019-08-24T14:15:22Z", "abandonReminderNumber": 0, "voidTime": "2019-08-24T14:15:22Z", "churnTime": "2019-08-24T14:15:22Z", "cancellationTime": "2019-08-24T14:15:22Z", "canceledBy": "merchant", "cancelCategory": "billing-failure", "cancelDescription": "string", "billingPortalToken": "string", "customFields": { … }, "lineItems": [ … ], "lineItemSubtotal": { … }, "mrr": 49.95, "revision": 0, "currentPeriodStart": "2019-08-24T14:15:22Z", "currentPeriodEnd": "2019-08-24T14:15:22Z", "renewalTime": "2019-08-24T14:15:22Z", "isNewOrder": true, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ], "_embedded": { … } } ]