v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Products

List all product prices

Returns all prices for all products, including product discount details.

get/products/price

Query parameters

countrystring
Example:US

The country for which the product price is being requested. This helps filter pricing based on the country's specific pricing rules or regional offers (e.g., "US", "DE").

currencystring
Example:USD

The currency in which the product price should be displayed. This allows the system to return the price in a specific currency (e.g., "USD", "EUR").

limitinteger

Limits the number of objects returned per page (default limit is 50).

pageinteger

Specifies the page number of results to be returned; used together with limit to control pagination.

Response

OK

pageinteger

The current page number of results.

limitinteger

The number of items per page.

nextPageinteger

The next page number of results returned.

Example response

{
  "page": 1,
  "limit": 1,
  "nextPage": 2,
  "products": [
    {
      "action": "product.price.getall",
      "result": "success",
      "product": "basic-laptop",
      "pricing": {
        "US": {
          "currency": "USD",
          "price": 600,
          "display": "$600.00",
          "quantityDiscount": {
            "5": {
              "discountPercent": 10,
              "discountValue": 60,
              "discountValueDisplay": "$60.00",
              "unitPrice": 540,
              "unitPriceDisplay": "$540.00"
            }
          },
          "discountReason": {
            "en": "New customer"
          },
          "discountPeriodCount": 3,
          "available": {
            "start": "2025-01-01",
            "end": "2025-12-31"
          },
          "setupFeePrice": 100,
          "setupFeePriceDisplay": "$100.00",
          "setupFeeReason": {
            "en": "One-time Setup Fee"
          }
        }
      }
    }
  ]
}