Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Security
SecretApiKey or JWT
Example:"prod_0YV7DES3WPC5J8JD8QTVNZBZNZ"
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/invoices/{id}/items/{itemId}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/invoices/{id}/items/{itemId}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/invoices/{id}/items/{itemId}
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/invoices/{id}/items/{itemId}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"type": "debit",
"description": "string",
"unitPrice": 0.1,
"quantity": 0,
"productId": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ",
"periodStartTime": "2019-08-24T14:15:22Z",
"periodEndTime": "2019-08-24T14:15:22Z",
"periodNumber": 0,
"tax": {
"amount": 0.1,
"description": "string"
}
}'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
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": { "amount": 0.1, "description": "string", "rate": 0, "stateAmount": 0.94, "countyAmount": 0.04, "cityAmount": 0, "specialDistrictAmount": 0.38, "stateRate": 0, "countyRate": 0, "cityRate": 0, "specialDistrictRate": 0, "jurisdictions": { … } }, "_links": [ { … } ], "_embedded": { "product": {}, "plan": {} } }