product-categories
Operations addressed under /product-categories — 3 operations.
create-product-category
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as AuraCommandDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LPRDCT_40 | 400 | PRODUCT_CATEGORY_FOUND_SAME_CODE |
ERR_LPRDCT_41 | 400 | PARENT_PRODUCT_CATEGORY_NOT_FOUND |
ERR_LPRDCT_42 | 400 | PARENT_PRODUCT_CATEGORY_IS_NOT_ACTIVE |
create-product-category › Request Body
alternativeInstallmentOptioncodedescriptionisActivemaxInstallmentNumbernameparentProductCategoryIdcreate-product-category › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
get-product-category-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ProductCategoryDto.
| Field | Declared type | Nullable |
|---|---|---|
IsActive | bool | no |
Code | string | no |
Name | string | no |
Description | string | no |
MaxInstallmentNumber | int | no |
AlternativeInstallmentOption | string | no |
ParentProductCategoryId | Guid? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LPRDCT_43 | 400 | PRODUCT_CATEGORY_NOT_FOUND |
path Parameters
idget-product-category-by-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
update-product-category
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LPRDCT_40 | 400 | PRODUCT_CATEGORY_FOUND_SAME_CODE |
ERR_LPRDCT_41 | 400 | PARENT_PRODUCT_CATEGORY_NOT_FOUND |
ERR_LPRDCT_42 | 400 | PARENT_PRODUCT_CATEGORY_IS_NOT_ACTIVE |
ERR_LPRDCT_43 | 400 | PRODUCT_CATEGORY_NOT_FOUND |
path Parameters
idupdate-product-category › Request Body
alternativeInstallmentOptioncodedescriptionisActivemaxInstallmentNumbernameparentProductCategoryIdupdate-product-category › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.