Retrieve a single active simple product
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the product.
ID of a segment whose price list and stock list should be used.
5The requested product.
An active simple product with segment-aware price, stock, currency, main category, first image, and variant attribute values.
Unique product identifier.
12345Display name of the product.
Premium Running Shoes - Blue/WhiteBase product code shared across all variants of the same product.
SHOE-RUN-BLUStock Keeping Unit — unique code for this specific variant.
SHOE-RUN-BLU-42The product type. The value is the numeric code as a string.
-1— Pre Product0— Simple1— Product Meta2— Bundle3— Grouped-2— Pre Miscellaneous4— Miscellaneous5— Offer
Whether the product is active. Always true for this endpoint.
trueCurrent selling price as a decimal string.
When a segment is provided, this is the price from the segment's price list. When the product has no entry on the requested price list, "0.00" is returned. When no segment is provided, the product's default price is returned.
149.99Currency code for price.
When a segment is provided, this is the currency of the segment's price list. When no segment is provided, the product's own currency_type is returned.
tryAvailable stock quantity.
When a segment is provided, this is the stock from the segment's stock list. When the product has no entry on the requested stock list, 0 is returned. When no segment is provided, the product's default stock is returned.
25Name of the product's main category. null when no main category is set.
Running ShoesURL of the product's first image. null when the product has no images.
https://cdn.akinon.com/products/shoe-main.jpgAuthentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested product does not exist.
GET /api/remote/1/products_advanced/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 12345,
"name": "Premium Running Shoes - Blue/White",
"base_code": "SHOE-RUN-BLU",
"sku": "SHOE-RUN-BLU-42",
"product_type": "-1",
"is_active": true,
"price": "149.99",
"currency": "try",
"stock": 25,
"category": "Running Shoes",
"product_image": "https://cdn.akinon.com/products/shoe-main.jpg",
"variants": {
"Color": "Blue",
"Size": "42"
}
}Last updated
Was this helpful?

