Return Supplier Product Categories from provided ids
GET/api/v1/suppliers/:id/supplier_product_categories/list
Return Supplier Product Categories from provided ids
Request
Path Parameters
id stringrequired
Query Parameters
sort string
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 10
Number of results to return per page.
supplier_product_category_ids[] string[]required
Possible values: >= 1
IDs of the Products Categories to return
Responses
- 200
Return Suppliers Product Categories from provided IDs
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
required
id string
type string
attributes
object
name string
name-fr string
name-de string
name-it string
name-es string
name-el string
children
object[]
id stringrequired
name stringrequired
custom-category-id string
parent-category string
parent-name string
delivery-schedule object
ordering-deadline integer
ordering-lead-time integer
meta
object
required
total-count numberrequired
total-pages numberrequired
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"name": "string",
"name-fr": "string",
"name-de": "string",
"name-it": "string",
"name-es": "string",
"name-el": "string",
"children": [
{
"id": "string",
"name": "string"
}
],
"custom-category-id": "string",
"parent-category": "string",
"parent-name": "string",
"delivery-schedule": {},
"ordering-deadline": 0,
"ordering-lead-time": 0
}
}
],
"meta": {
"total-count": 0,
"total-pages": 0
}
}
Loading...