Characteristics

Operations to get characteristics


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
body body Characteristic true Characteristics to add

Request body - JsonObject

1
2
3
4
{
  "name": "Color",
  "value": "Blue"
}
Name Type Required Description
name string true none
value string true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/base_products/{baseId}/characteristics \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "[
  {
    'name': 'Color',
    'value': 'Blue'
  }
]" 

Responses

Code Meaning Description Schema
200 OK Success Inline
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

200 - JsonObject

Custom schema example

1
2
3
{
  "message": "2 characteristics updated"
}
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
body body Characteristic true Characteristics to delete

Request body - JsonObject

1
2
3
4
{
  "name": "Color",
  "value": "Blue"
}
Name Type Required Description
name string true none
value string true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X DELETE https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/base_products/{baseId}/characteristics \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "[
  {
    'name': 'Color',
    'value': 'Blue'
  }
]" 

Responses

Code Meaning Description Schema
200 OK Success Inline
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

200 - JsonObject

Custom schema example

1
2
3
{
  "message": "2 characteristics updated"
}
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
productId path integer true product id
body body Characteristic true Characteristics to add

Request body - JsonObject

1
2
3
4
{
  "name": "Color",
  "value": "Blue"
}
Name Type Required Description
name string true none
value string true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/base_products/{baseId}/products/{productId}/characteristics \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "[
  {
    'name': 'Color',
    'value': 'Blue'
  }
]" 

Responses

Code Meaning Description Schema
200 OK Success Inline
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

200 - JsonObject

Custom schema example

1
2
3
{
  "message": "2 characteristics updated"
}
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
productId path integer true product id
body body Characteristic true Characteristics to delete

Request body - JsonObject

1
2
3
4
{
  "name": "Color",
  "value": "Blue"
}
Name Type Required Description
name string true none
value string true none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X DELETE https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/base_products/{baseId}/products/{productId}/characteristics \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "[
  {
    'name': 'Color',
    'value': 'Blue'
  }
]" 

Responses

Code Meaning Description Schema
200 OK Success Inline
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

200 - JsonObject

Custom schema example

1
2
3
{
  "message": "2 characteristics updated"
}
None

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