Stores
Add Store
post /sites/{siteid}/stores{ "storetype": 20, "name": "Outlet Store", "externalid": "OUTLET-1", "externalgroupid": "NA", "state": "NY", "countryid": "us", "usetype_movein": 10, "usetype_moveout": 20}
3
HTTP Status Code Summary | |
---|---|
200 | Returns storeid |
400 | Bad Request. Invalid syntax, missing required argument or invalid request. |
401 | Unauthorized. Authorization failed. |
404 | Resource not found. The url is invalid. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Get Stores
get /sites/{siteid}/storesThe index of the item to start from
The number of items returned
Comma separated list of fields to return. Use this to query only the fields you are using. Default is all fields in store.
{ "totalcount": 2, "items": [ { "storeid": 1, "storetype": 10, "name": "Concept Store", "address": "240 W Broadway", "city": "New York", "usetype_movein": 10, "usetype_moveout": 20 }, { "storeid": 2, "storetype": 30, "name": "Pop-Up Store", "address": "", "city": "", "usetype_movein": null, "usetype_moveout": null } ]}
HTTP Status Code Summary | |
---|---|
200 | Returns an envelope with items of type store. |
400 | Bad Request. Invalid syntax, missing required argument or invalid request. |
401 | Unauthorized. Authorization failed. |
404 | Resource not found. The url is invalid. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Get Store
get /sites/{siteid}/stores/{storeid}{ "storeid": 3, "storetype": 20, "name": "Outlet Store", "externalid": "OUTLET-1", "externalgroupid": "NA", "phone": null, "email": null, "address": "", "address2": "", "zip": "", "city": "", "state": "NY", "countryid": "us", "latitude": null, "longitude": null, "nearby_stores": [], "usetype_movein": 10, "usetype_moveout": 20, "usetype_manualin": null, "usetype_manualout": null, "usetype_shipmentin": null, "usetype_shipmentout": null, "tags": [], "additional_data": null}
HTTP Status Code Summary | |
---|---|
200 | Returns an item of type store. |
400 | Bad Request. Invalid syntax, missing required argument or invalid request. |
401 | Unauthorized. Authorization failed. |
404 | Resource not found. The url is invalid. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Update Store
put /sites/{siteid}/stores/{storeid}{ "address": "Main Street", "city": "New York"}
true
HTTP Status Code Summary | |
---|---|
200 | Returns true |
400 | Bad Request. Invalid syntax, missing required argument or invalid request. |
401 | Unauthorized. Authorization failed. |
404 | Resource not found. The url is invalid. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Delete Store
delete /sites/{siteid}/stores/{storeid}true
HTTP Status Code Summary | |
---|---|
200 | Returns true |
400 | Bad Request. Invalid syntax, missing required argument or invalid request. |
401 | Unauthorized. Authorization failed. |
404 | Resource not found. The url is invalid. |
429 | Too Many Requests. |
500 | Internal Server Error. |
Objects
Storeobject
The store object in Sitoo
Unique ID of store in Sitoo.
Eshop ID that store belongs to.
The type of the store
The name of the store
External ID for the store (or null). Used as store identifier in other Sitoo services.
External Grouping ID for the store (or null).
Phone number for the store (or null).
Email for the store (or null).
Address for the store.
Address 2 for the store.
Zip for the store.
City for the store.
State for the store.
Country ID for the store (2-letter ISO 3166).
Latitude in decimal degrees for location of store (or null).
Longitude in decimal degrees for location of store (or null).
Array of storeid
(integer) for nearby stores to this store.
Default warehouse usetype for transfers of type Move In (or null).
Default warehouse usetype for transfers of type Move Out (or null).
Default warehouse usetype for transfers of type Manual In (or null).
Default warehouse usetype for transfers of type Manual Out (or null).
Default warehouse usetype for transfers of type Shipment In (or null).
Default warehouse usetype for transfers of type Shipment Out (or null).
Array of tags for store.
Additional data for this store. The properties below are a summary of defined properties that may be used by Sitoo or external integrations. Other properties are also allowed as long as their values are of type string.
StoreTypeinteger
10
Store20
Outlet30
PopUp40
Mobile50
Online
WarehouseUseTypeinteger
10
Front20
Back30
Demo40
Reclaim50
External