Physical Warehouse

Operations with physical warehouse


Parameters

Name In Type Required Description
orgId path string true Organization name as it is registered in Mas-Stack

Request example

1
2
3
4
5

curl -X GET https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/pwarehouse \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Success [PhysicalWarehouseDto]
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 CreatePhysicalWarehouseDto true Information needed to insert a physical warehouse

Request body - instance of CreatePhysicalWarehouseDto

1
2
3
4
5
6
7
8
{
  "name": "name",
  "logisticOperator": 1,
  "regionId": 1,
  "country": "ES",
  "address": "address",
  "contactInfoId": 20
}
Name Type Required Description
name string false none
logisticOperator integer false none
regionId integer false none
country string false none
address string false none
contactInfoId integer false none

Request example

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

curl -X POST https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/pwarehouse \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "{
  'name': 'name',
  'logisticOperator': 1,
  'regionId': 1,
  'country': 'ES',
  'address': 'address',
  'contactInfoId': 20
}" 

Responses

Code Meaning Description Schema
200 OK Success PhysicalWarehouseDto
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
id path integer true warehouse id

Request example

1
2
3
4
5

curl -X GET https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/pwarehouse/1 \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Success PhysicalWarehouseAndCharacteristicsDto
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