Sites
Get Sites
get /sitesgethttps://api.mysitoo.com/v2/accounts/1500/sites.json
RESPONSE JSON
{ "totalcount": 1, "items": [ { "siteid": "{25D9C5B8-51FC-5751-7FBE-37368C7E4EF0}", "protocol": "https", "server": "store.mysitoo.com", "abspath": "/", "siteurl": "https://store.mysitoo.com/", "eshopid": 1 } ]}
HTTP Status Code Summary | |
---|---|
200 | Returns an envelope with items of type site. |
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 Site
get /sites/{siteid}PARAMETERS
siteid
integer
path
REQUIRED
gethttps://api.mysitoo.com/v2/accounts/1500/sites/1.json
RESPONSE JSON
{ "siteid": "{25D9C5B8-51FC-5751-7FBE-37368C7E4EF0}", "protocol": "https", "server": "store.mysitoo.com", "abspath": "/", "siteurl": "https://store.mysitoo.com/", "eshopid": 1}
HTTP Status Code Summary | |
---|---|
200 | Returns an item of type site. |
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
siteobject
A site with it's own set of stores, products, pricelists and other related data.
PROPERTIES
siteid
string
READ ONLY
DEPRECATED
Site ID. This ID has been deprecated and eshopid
should be used in it's place for API endpoint URLs where {siteid}
is specified.
protocol
string
READ ONLY
Site protocol (ie. http or https).
server
string
READ ONLY
Server (domain).
abspath
string
READ ONLY
Absolute path.
siteurl
string
READ ONLY
Request to the site (protocol + "://" + server + abspath).
eshopid
integer
READ ONLY
Eshop ID. This ID should be used in place of siteid
in API endpoint URLs where {siteid}
is specified.