Skip to main content
GET
/
tabs
/
reports
/
tab-discounts
Descuentos de cuentas
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/reports/tab-discounts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "discounts": [
      {
        "websiteId": "<string>",
        "storeId": "<string>",
        "countryCode": "<string>",
        "tabId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "discountMethodId": "<string>",
        "discountMethodName": "<string>",
        "type": "<string>",
        "voidedAt": "2023-11-07T05:31:56Z",
        "discountedAmount": 123,
        "comments": "<string>",
        "createdById": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getjusto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fromDate
string<date-time>
required
Example:

"2020-01-01T00:00:00.000Z"

toDate
string<date-time>
required
Example:

"2020-01-01T00:00:00.000Z"

storeIds
string[]
type
string
createdById
string

Response

The OpenAPI spec

success
boolean
Example:

true

data
object