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.
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
No product-priority record exists with the given identifier.
application/json
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?

