Discount Item API

Retrieve discount document items — read only

Base URL

https://{tenant}.logzi.com/api/discount_item/

Every request returns a JSON response. On success result.code == 1, on error result.code == 0. A discount item represents a single line of a discount document. This endpoint is read-only — to modify items, use the discount API.

GET /api/discount_item/get

Retrieve a single discount item by its identifier.

Query Parameters

ParameterTypeRequiredDescription
idintItem identifier

Example Request

GET /api/discount_item/get?id=1
X-API-KEY: {your_api_key}
GET /api/discount_item/list

List the items of a discount document.

Query Parameters

ParameterTypeRequiredDescription
receipt_idintDiscount document identifier

Example Request

GET /api/discount_item/list?receipt_id=20
X-API-KEY: {your_api_key}

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!