Product

Product detail and variant information

Retrieve product detail page

get

Returns comprehensive product information for a detail page, including pricing, stock availability, images, videos, and variant selection options.

Response Behavior:

1. Standard Product Response

  • Returns complete product data with all variant options

  • Includes currently selected variant based on query parameters

  • Provides pricing from default or inventory-specific price lists

2. Variant Selection

  • Pass attribute keys as query parameters to pre-select variants

  • System returns matching variant as selected_variant

  • Variant options indicate selectable combinations

3. Automatic Redirects When a product is not directly listable, the system may redirect:

  • Non-listable products redirect to their parent product

  • Query parameters are preserved during redirection

  • Variant attributes are included in redirect URL

4. Availability Handling

  • Products marked as end-of-life with no stock return 404

  • Hidden products are only visible to configured test users (Source: Dynamic/Real-time Configuration)

Path parameters
product_idintegerRequired

Unique identifier of the product to retrieve.

This ID corresponds to the product's primary key in the catalog system.

Example: 12345
Query parameters
seller_idintegerOptional

Filter product data for a specific seller.

When provided, returns seller-specific pricing and stock information. Useful for marketplace scenarios with multiple sellers offering the same product.

Example: 42
Responses
200

Product detail retrieved successfully

application/json
get
/product/{product_id}/

Retrieve product variant information

get

Returns variant selection data for a product, including all available attribute combinations.

Purpose: This endpoint is optimized for scenarios where you need variant data without the full product detail response. Useful for:

  • Variant selector widgets

  • Quick attribute filtering

  • Lightweight variant queries

Behavior:

  • If the product is not listable, automatically uses the parent product

  • Always passes stock check (returns all variants regardless of availability)

  • Returns same variant structure as product detail endpoint

Path parameters
product_idintegerRequired

Unique identifier of the product

Example: 12345
Responses
200

Product variant data retrieved successfully

application/json
get
/product/{product_id}/variants/

Retrieve miscellaneous product by SKU

get

Returns product information for a miscellaneous product identified by SKU.

Miscellaneous Products: Special product types that are:

  • Identified by SKU rather than ID

  • Not part of regular product listings

  • Used for services, fees, or special items

Examples:

  • Gift wrapping service

  • Extended warranty

  • Shipping fees

  • Custom services

Requirements:

  • Product must be of type "miscellaneous"

  • Product must be active

  • SKU must match exactly

Path parameters
skustringRequired

Stock Keeping Unit (SKU) of the miscellaneous product.

SKUs can contain alphanumeric characters and hyphens.

Example: GIFT-WRAP-PREMIUMPattern: ^[\w-]+$
Responses
200

Miscellaneous product retrieved successfully

application/json
get
/misc-product/{sku}/

Last updated

Was this helpful?