cURL
curl --request GET \ --url https://api.bonifiq.com.br/v1/pvt/Coupons/{code} \ --header 'Authorization: Basic <encoded-value>'
{ "ErrorMessage": "<string>", "ErrorCode": 123, "Result": { "CouponCode": "<string>", "CreatedDate": "2023-11-07T05:31:56Z", "IsUsed": true, "CouponValue": 123, "CustomerId": 123, "ValidDateStart": "2023-11-07T05:31:56Z", "ValidDateEnd": "2023-11-07T05:31:56Z", "CouponType": 0 }, "HasError": true }
Use API Basic Auth Keys
Error message or description
Optional error code, if available
Create Coupon Response Model
Show child attributes
If true the request had an error.
Was this page helpful?