Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/orders/{id}/items/{itemId}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/orders/{id}/items/{itemId}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/orders/{id}/items/{itemId}
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/orders/{id}/items/{itemId}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"quantityFilled": 5.125,
"excludeFromMrr": true,
"plan": {
"productOptions": {
"region": "US",
"size": "xxl"
}
}
}'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
planOriginalPlan (object) or (FlexiblePlan (OneTimeSalePlan (object) or SubscriptionPlan (object) or TrialOnlyPlan (object)))required
One of:
Use an existing plan without changes for the current order.
To create a new plan, see Create a plan.
One of:
Response
{ "id": "string", "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X", "quantity": 0, "quantityFilled": 5.125, "plan": { "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" }, "usageLimits": null, "usageStatus": null, "revision": 0, "isModified": true, "isGrandfathered": true, "excludeFromMrr": true, "_embedded": { "product": {} } }