List product–category links
Returns a paginated list of product–category links.
Filter by id, product, or category. Order results with sort.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the link's own identifier. Exact match.
42Filter by product identifier. Keeps only links for the given product.
100Filter by category-node identifier. Keeps only links for the given category node.
5A page of product–category links.
A paginated list of product–category links.
Total number of links matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page of the product–category link list does not exist — the page number is beyond the last page or is not a number.
GET /api/v1/remote/1/product_category/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 42,
"product": 100,
"category": 5,
"is_main": true
}
]
}Last updated
Was this helpful?

