API upgrades
This page summarizes the backward-incompatible changes made to the v1 API Reference.
Starting from May 20, 2024, all versions are in the date format such as 2024-05-20. The versions before this date are the legacy versions in the numbered format such as 196.0, which are still supported for backward compatibility.
To learn how to upgrade to the latest version, see API upgrade guide.
For backward-compatible (non-breaking) changes, see v1 API changelog for more information.
2025-08-12
- We have introduced the 
27error category code. This error category code indicates that the request cannot be processed because of an invalid query parameter (filter[],expand[],sort[], andfields[]) of the Object Query API. See the following table for details:Category Code Error Category HTTP Status Code 27 Invalid query parameter 400 Bad Request  
- We have unified the 4XX and 500 error response formats for Object Query API operations to the following format:This enhancement ensures that the Object Query API error response is consistent with the v1 API, which potentially simplifies your error-handling effort. The returned error code is a 8-digit code, such as
{ "reasons": [ { "code": {error_code}, "message": "{error_message}" } ], "requestId": "{request_ID}" }50000060, following the standard error code convention. See Error codes for details.Previously, the 4XX and 500 error response formats for Object Query API operations varied depending on the error scenarios. In some cases, the failed requests returned 200 HTTP status codes. It was also rectified to display the appropriate HTTP status code in the unified error response format.
 
2024-05-20
- We have made the following HTTP status code changes to all v1 operations (except Actions and CRUD operations):
Any errors containing an error category code now return a standard HTTP status code that aligns with the indication of the error. See the following table for details.
Previously, any errors with an error category code were designed to return a200 OKHTTP status code.Category Code Error Category HTTP Status Code 10 Permission or access denied 403 Forbidden 11 Authentication failed 401 Unauthorized 20 Invalid format or value 400 Bad Request 21 Unknown field in request 400 Bad Request 22 Missing required field 400 Bad Request 23 Missing required query parameter 400 Bad Request 30 Rule restriction 400 Bad Request 40 Not found 404 Not Found 45 Unsupported request 405 Method Not Allowed, 
406 Not Acceptable,
415 Unsupported Media Type50 Locking contention 409 Conflict 60 Internal error 500 Internal Server Error 61 Temporary error 500 Internal Server Error 70 Request exceeded limit 429 Too Many Requests 90 Malformed request 400 Bad Request 99 Integration error 500 Internal Server Error  
337.0
- We have deprecated the 
paymentIdfield on the Payment Schedule Item object. The following operations are affected:- Add payment schedule items to a custom payment schedule
 - Update a payment schedule
 - Update a payment schedule item
 - Preview the result of payment schedule update
 - Retrieve a payment schedule
 - Retrieve a payment schedule item
 - List payment schedules by customer account
 - Cancel a payment schedule
 - Cancel a payment schedule item
 - Skip a payment schedule item
 - Retry failed payment schedule items
 
 
314.0
- We have replaced the 
batchfield with abatchesfield of the Billing Preview Run object. The following operations are affected: 
257.0
- We have replaced the 
charges>chargeIdparameter with acharges>productRatePlanChargeIdparameter when creating a credit memo or debit memo from a charge. The following operations are affected: - We have replaced the 
charges>commentparameter with acharges>descriptionparameter when creating a credit memo or debit memo from a charge. The following operations are affected: - We have replaced the 
commentfield with adescriptionfield of the Credit Memo Item and Debit Memo Item objects. The following operations are affected: 
239.0
- We have replaced the following fields with the 
taxationItemsfield on the respective object:- The 
creditTaxItemsfield of the Credit Memo Item object - The 
taxItemsfield of the Debit Memo Item object 
You can access these fields through the following operations:
 - The 
 
230.0
- We have made the following behavior changes to the returned 
productRatePlansfield of the Product object in the response of the Retrieve a product and List all products operations:- For 
230.0and later versions, the value of theproductRatePlansfield is a URL. - For 
229.0and earlier versions, the value of this field was an array of product rate plan details. Note that the array can contain a maximum of 300 product rate plans. Additionally, across all product rate plans, at most 300 product rate plan charges are returned. 
 - For 
 
224.0
- We have replaced the 
charges>memoItemAmountfield with thecharges>amountfield on the Credit Memo object created from the product rate plan charge. The following operations are affected: 
223.0
- For the Create an order operation, we have replaced the returned 
subscriptionNumbersfield with asubscriptionsfield as the container for the subscription number and status on the Order object. 
215.0
- We have made the following changes to the Invoice and Collect operation:
- Replaced the 
invoiceDateparameter with thedocumentDateparameter - Replaced the 
invoiceTargetDateparameter with thetargetDateparameter 
 - Replaced the 
 
211.0
- We have replaced the 
invoiceTargetDateparameter with atargetDateparameter. The following operations are affected: - We have replaced the 
invoiceboolean parameter (added in196.0) with arunBillingparameter. The following operations are affected: 
207.0
- When previewing a subscription, we have replaced the 
invoiceTargetDatefield with atargetDatefield. - We have replaced the 
includeExistingDraftInvoiceItemsparameter with aincludeExistingDraftDocItemsparameter. The following operations are affected: - We have updated the possible values and the default value of the 
previewTypeparameter. The following operations are affected:- Preview a subscription
 - Update a subscription
Since207.0, the possible values areLegalDoc(default),ChargeMetrics, andLegalDocChargeMetrics. Previously, the possible values wereInvoiceItem(default),ChargeMetrics, andInvoiceItemChargeMetrics. 
 - We have changed the response schema of the Preview a subscription and Update a subscription operations. The following top-level response fields are moved to the 
invoicecontainer:amountamountWithoutTaxtaxAmountinvoiceItems
 
196.0
- We have replaced the 
invoiceCollectparameter with acollectparameter. The following operations are affected: