[resolved] Assistance with a custom API customer request -> Chargebee

Status: Closed · Asked by Operaciones Aoris Digital on · 0 views

aoris — Question ·

Hello Pabbly Team,

I am trying to POST data to Chargebee in order to create a usage entry on a subscription/item price. The support team of Chargebee has confirmed that the API call does work with the following CURL code:


curl https://aoris-test.chargebee.com/api/v2/subscriptions/BTUUj1TWXjrpr10F1/usages \
-X POST \
-u test_**********************:\
-d item_price_id="LeadPipe-Mailer---Metered-EUR-Monthly" \
-d usage_date=1677070011 \
-d note="Test from Chargebee" \
-d quantity="125"

From Pabbly, I have attempted to POST the same information using both a custom API call and a standard API POST call. Neither have worked - I keep getting an error message: "item_price_id : cannot be blank". Any idea of what I could be doing wrong, please?

Thanks in advance for your help!
Aoris

aoris — Reply ·

I don't know what to say. I just tried the API POST call and... it worked. Did not change a field! Really don't know what to think of this. Anyway... no longer an issue.

Back to all forum threads · Log in to reply