Skip to main content
GET
/
products
/
pricing
All products pricing
curl --request GET \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/products/pricing \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "name": "Basic Product",
      "sku": "BASIC-001",
      "is_active": true,
      "wholesale_price": 100,
      "retail_price": 150,
      "pricing_schedule": {
        "id": 1,
        "name": "Standard Volume Discount",
        "modification_type": "PERCENTAGE",
        "price_levels": [
          {
            "id": 1,
            "name": "Standard",
            "amount": 0,
            "tiers": [
              {
                "min_quantity": 0,
                "price": 100,
                "is_overridden": false
              }
            ]
          }
        ]
      },
      "company_pricing": [
        {
          "company": {
            "id": 1,
            "name": "Test Business 1"
          },
          "price": 140
        }
      ]
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 5,
    "per_page": 10,
    "to": 10,
    "total": 50
  }
}

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To obtain a token, contact [email protected]

Query Parameters

page
integer
default:1

Page number for pagination

per_page
integer
default:10

Number of items per page (max 100)

Required range: x <= 100
q
string

Filter by name OR upc OR sku

name
string

Filter by product name

description
string

Filter by product description

sku
string

Filter by SKU (searches both internal and alternate SKUs)

upc
string

Filter by UPC/Barcode

sellable
boolean

Filter by sellable status

discontinued
boolean

Filter by whether the product is discontinued

retail_price
number<float>

Filter by retail price

wholesale_price
number<float>

Filter by wholesale price

created_at
string<date-time>

Filter by creation date

updated_at
string<date-time>

Filter by last update date

tag
string

Filter by product tags

category.id
integer

Filter by category ID

category.name
string

Filter by category name

sub_category.id
integer

Filter by sub-category ID

sub_category.name
string

Filter by sub-category name

supplier.id
integer

Filter by supplier ID

supplier.name
string

Filter by supplier name

Response

List of products with pricing information

data
object[]
meta
object