Select
Base products
Operations to get base products
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
body | body | CreateProductBaseDto | true | Information needed to insert a base product |
Request body - instance of CreateProductBaseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
commercialBrand | integer | true | none |
category | integer | true | none |
vatTax | number | false | none |
digitalCanon | number | false | none |
unitsInPalet | integer | false | none |
unitsInBox | integer | false | none |
eolDate | string(date) | false | none |
substitute | string | false | none |
swapsRate | number | false | none |
billingCategory | string | false | none |
organization | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ProductBaseDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
body | body | SearchProductBaseDto | false | Information needed to update a base product |
Request body - JsonObject
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | false | none |
commercialBrand | integer | false | none |
category | integer | false | none |
vatTax | number | false | none |
digitalCanon | number | false | none |
unitsInPalet | integer | false | none |
unitsInBox | integer | false | none |
eolDate | string(date) | false | none |
substitute | string | false | none |
swapsRate | number | false | none |
billingCategory | string | false | none |
organization | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | [ProductBaseDto] |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
200 - instance of ProductBaseDto
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
productBaseId | integer | false | none |
name | string | true | none |
commercialBrand | integer | true | none |
category | integer | true | none |
vatTax | number | false | none |
digitalCanon | number | false | none |
unitsInPalet | integer | false | none |
unitsInBox | integer | false | none |
eolDate | string(date) | false | none |
substitute | string | false | none |
swapsRate | number | false | none |
billingCategory | string | false | none |
organization | string | false | none |
characteristics | CharacteristicValuesProductDto | false | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
baseId | path | integer | true | product base id |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | [ProductBaseDto] |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
200 - instance of ProductBaseDto
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
productBaseId | integer | false | none |
name | string | true | none |
commercialBrand | integer | true | none |
category | integer | true | none |
vatTax | number | false | none |
digitalCanon | number | false | none |
unitsInPalet | integer | false | none |
unitsInBox | integer | false | none |
eolDate | string(date) | false | none |
substitute | string | false | none |
swapsRate | number | false | none |
billingCategory | string | false | none |
organization | string | false | none |
characteristics | CharacteristicValuesProductDto | false | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
baseId | path | integer | true | Base product id to update |
body | body | CreateProductBaseDto | true | Information needed to update a base product |
Request body - instance of CreateProductBaseDto
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
commercialBrand | integer | true | none |
category | integer | true | none |
vatTax | number | false | none |
digitalCanon | number | false | none |
unitsInPalet | integer | false | none |
unitsInBox | integer | false | none |
eolDate | string(date) | false | none |
substitute | string | false | none |
swapsRate | number | false | none |
billingCategory | string | false | none |
organization | string | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ProductBaseDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Endpoints
Base products
Products
Characteristics
Delivery commitment
Inputs
Input Types
Outputs
Output Types
Stock
Physical Warehouse
Virtual Warehouse
Returns
Devices
Providers
Logistic Operators
Commercial Brands
Commercial Distributions
Status
Categories
Purposes
Regions
Countries
Receptors
Characteristics Values
Sales Channel
Tenant group brand
Organizations
Sap Ordering
Report importer