Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '/categories/{categoryId}/products':
- parameters:
- - schema:
- type: string
- name: categoryId
- in: path
- required: true
- get:
- summary: Retrieve all products in a category
- responses:
- '200':
- description: OK
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/Product-Category'
- headers: {}
- operationId: get-categories-categoryId-products
- description: |-
- Retrieves all active products associated with the provided category ID and price list ID. This can be the ID of the leaf category, sub-category, or root category.<p>For a leaf category, the API returns all products associated with it. If the ID of the root or sub-category (not a leaf category ID) is provided, the API returns all the products associated with all child categories. By default, the API returns the following fields with results sorted alphabetically by Product Name.
- <ul>
- <li>Product Name</li>
- <li>Product Code</li>
- <li>Product Description</li>
- <li>Product Family</li>
- <li>List Price</li>
- <li>Charge Type</li>
- <li>The image associated with the product.</li>
- </ul>
- parameters:
- - $ref: '#/components/parameters/page'
- - $ref: '#/components/parameters/limit'
- - $ref: '#/components/parameters/sort'
- - $ref: '#/components/parameters/filter'
- - $ref: '#/components/parameters/PriceListId'
- - $ref: '#/components/parameters/CartId'
- tags:
- - Categories
- security:
- - oauth:
- - openid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement