Limit the number of collection items to be returned. Use 0 to return an empty collection and still receive the count of matching items in Pagination-Total.
Security
SecretApiKey or JWT
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/invoices/{id}/items
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/invoices/{id}/items
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/invoices/{id}/items
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/invoices/{id}/items?limit=0&offset=0&expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Array [ID of the product. ID of the plan. ID of the order. Billing period number that is associated with the invoice item.
For example, an invoice item for a service is included in billing period number 3.
The invoice item is only applied to billing period number 3. 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. ]
Example:"prod_0YV7DES3WPC5J8JD8QTVNZBZNZ"
Example:"plan_0YV7DENSVGDBW9S71XZNNYYQ0X"
Example:"sub_01HRF27SATGE4Z6PBJE6PD8328"
Response
[ { "id": "ii_0YVFDEQS2KCFTBN9HXWJFY55GV", "type": "debit", "description": "string", "unitPrice": 0.1, "quantity": 0, "price": 0.1, "productId": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ", "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X", "subscriptionId": "sub_01HRF27SATGE4Z6PBJE6PD8328", "periodStartTime": "2019-08-24T14:15:22Z", "periodEndTime": "2019-08-24T14:15:22Z", "periodNumber": 0, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "tax": { … }, "_links": [ … ], "_embedded": { … } } ]