Product Subcategories
Product subcategory management.
150qReturns a PaginatedProductSubcategoryCollection
Returns an ErrorDto in case there is not enough privileges to perform this action
GET /apis/v2/pos/products/categories/{productCategoryId}/subcategories HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}
],
"_total": 1,
"_pagination": {
"page": 1,
"ipp": 1,
"count": 1,
"total": 1
},
"_links": {
"self": {
"href": "text"
}
}
}0Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
Returns an error
POST /apis/v2/pos/products/categories/{productCategoryId}/subcategories HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"id": "text",
"name": "text",
"description": "text",
"priority": 0,
"_links": {}
}{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}Returns a ProductSubcategoryCollection
Returns an ErrorDto in case there is not enough privileges to perform this action
Returns an error
PATCH /apis/v2/pos/products/categories/{productCategoryId}/subcategories HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"items": [
{
"id": "text",
"name": "text",
"description": "text",
"priority": 0
}
]
}{
"items": [
{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}
],
"_total": 1,
"_links": {
"self": {
"href": "text"
}
}
}Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
ProductSubcategory not found
GET /apis/v2/pos/products/categories/{productCategoryId}/subcategories/{productSubcategoryId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
ProductSubcategory not found
DELETE /apis/v2/pos/products/categories/{productCategoryId}/subcategories/{productSubcategoryId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}0Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
ProductSubcategory not found
PATCH /apis/v2/pos/products/categories/{productCategoryId}/subcategories/{productSubcategoryId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"id": "text",
"name": "text",
"description": "text",
"priority": 0,
"_links": {}
}{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
ProductSubcategory not found
PUT /apis/v2/pos/products/categories/{productCategoryId}/subcategories/{productSubcategoryId}/tax-category HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"taxCategory": {
"id": "text"
}
}{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}Returns a ProductSubcategory
0Returns an ErrorDto in case there is not enough privileges to perform this action
ProductSubcategory not found
DELETE /apis/v2/pos/products/categories/{productCategoryId}/subcategories/{productSubcategoryId}/tax-category HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"category": {},
"name": "text",
"description": "text",
"priority": 0,
"errors": [
{
"code": "text",
"message": "text",
"details": {}
}
],
"_links": {}
}Last updated
Was this helpful?

