Return all supplier catalogs for specific supplier
GET/api/v1/suppliers/:id/supplier_catalogs
Return all supplier catalogs for specific supplier
Request
Path Parameters
id int32required
Query Parameters
include string
Include associations (delimited with comma). Available associations: pictures, supplier_products
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 10
Number of results to return per page.
Responses
- 200
Return all supplier catalogs for specific supplier
- application/vnd.api+json
- Schema
- Example (from schema)
- Example
Schema
data
object
required
id string
type string
attributes
object
name string
custom boolean
Possible values: [true
, false
]
{
"data": {
"id": "string",
"type": "string",
"attributes": {
"name": "string",
"custom": true
}
}
}
{
"data": [
{
"id": "69004ffe-404c-4e1d-8a6a-dc5f5e49289c",
"type": "supplier-catalogs",
"attributes": {
"name": "default",
"custom": true
}
}
],
"meta": {
"total-count": 1,
"total-pages": 1
}
}
Loading...