Happy Business Starts Here

Zuora Alumni

[REST] Create Usage with invoice owner different than subscription owner

When creating usage via REST API and the particular account has subscription owner different than the invoice owner, "SubscriptionNumber" should be used in the payload instead of "SubscriptionId" as shown in example below. Reason being is that by supplying "SubscriptionNumber", it allows our application to trace the objects to locate the subscripition owner. If "SubscriptionId" is used instead, our app will not able to trace the subscription owner since the subscription ID leads to only a partiucalr version of the subscription, the error message "This Subscription is not the original Subscription." will be returned.


endpoint: https://rest.apisandbox.zuora.com/v1/object/usage



  "AccountNumber": "12345",
  "SubscriptionNumber": "A-S00001234",
  "ChargeId": "2c92c0f859d9576f0159dd53aa9f4cgt",
  "StartDateTime": "2017-01-01T12:10:45.0000000-08:00",
  "EndDateTime": "2017-01-01T12:10:45.0000000-08:00",
  "Quantity": 6,
  "UOM": "Seats"





Documentation: https://www.zuora.com/developer/api-reference/#operation/Object_POSTUsage

If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √