For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a product priority

Returns a single product-priority record by its identifier.

get
/product_priority/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the product-priority record.

Responses
200

The requested product-priority record.

application/json

A product-priority record — the ranking weight of a single product.

pkintegerRead-onlyOptional

The unique identifier of the record.

productintegerOptional

The identifier of the product this priority belongs to. One record per product.

priorityinteger · max: 2147483647Optional

The ranking weight. Higher values rank the product higher.

get/product_priority/{id}/
GET /api/v1/remote/1/product_priority/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 512,
  "product": 3391,
  "priority": 150
}

Last updated

Was this helpful?