Skip to main content

Get a list of product categories

Retrieve a paged collection of product categories (required scope stock:read)

Query Parameters
    id int64[]

    Only return product categories where id matches the value(s) provided

    sortBy ProductCategorySortOptions

    Possible values: [name]

    The field to sort items in the page by

    direction SortDirection

    Possible values: [ascending, descending]

    The direction to apply the sort

    pageNumber int32

    Possible values: >= 1 and <= 2147483

    The page number being requested (minimum: 1, maximum: 2147483)

    pageSize int32

    Possible values: >= 1 and <= 1000

    The page size being requested (minimum: 1, maximum: 1000)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Responses

Success


Schema
    items object[]

    The items returned for the requested page

  • Array [
  • id int64

    The unique identifier of the product category

    name string

    Represents the classification or grouping of a stock item based on its characteristics, usage, or other criteria. It helps in organising the inventory and can aid in tracking, reporting, and analysing inventory data

    createdAt date-time

    The date and time when the stock item record was created

  • ]
  • pageNumber int32

    The page number of the response where 1 is the first page

    pageSize int32

    The number of items requested for the current page

    pageItemCount int32

    The number of items returned in the current page

Loading...