Introduction
Get and update store inventories.
Error Codes
The Skechers Web Service uses conventional HTTP response codes to indicate the success or failure of an API request. When a request is valid, but does not complete successfully (e.g. user not found), a response is given containing a specific error code and error message about the point of failure.
Response Parameters
-
errorCode: string
An error code that can be referenced in the table to the right. Refer to this error code when identifying errors. -
errorMessage: string
A human-readable message providing more details about this error.
Codes
130000 | Store Catalog API failed |
---|---|
130001 | Store Catalog API Get failed |
130002 | Store Catalog API Update failed |
Update Store Inventory
Update Store Inventory for a specific UPC. Also need to specify stylecode and colorcode as UPC gets recycled so they are not uniquely identifiable.
Request Parameters
-
stylecode: string
The stylecode of the UPC -
colorcode: string
The colorcode of the UPC -
quantity: int
The new quantity to be updated
Response Parameters
-
storeid: string
The stylecode of the UPC -
stylecode: string
The colorcode of the UPC -
colorcode: string
The colorcode of the UPC -
quantity: int
The new quantity
POST /api/v3/catalog/600/upc/884292068890
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"stylecode":"4442","colorcode":"BOL","quantity":7}} ' http://retailapi-skechers-com.dev.skechers.com/api/v3/catalog/600/upc/884292068890
{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"stylecode":"4442","colorcode":"BOL","quantity":7}}
Example Response
{"result":{"stylecode":"4442","quantity":7,"storeid":"600","upc":"884292068890","colorcode":"BOL"}}
Live Response
Update Stores
Request Parameters
-
storenum: string
-
storetype: string
-
name: string
-
address1: string
-
address2: String
optional -
city: string
-
state: string
-
country: string
-
description: string
optional -
phone: string
-
postalcode: string
-
hours: map
-
region: string
optional -
climate: string
optional -
latitude: double
-
longtitude: double
POST /api/v3/catalog/updateStores
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":[{"city":"Manhattan Beach","name":"SKECHERS Retail","latitude":33.8845894,"state":"CA","description":"Manhattan Beach","storenum":"1","country":"USA","storetype":"Retail","hours":{"mon":"10:00:19:00","tue":"11:00:18:00","sun":"10:00:19:00","thur":"10:00:19:00","fri":"10:00:19:00","sat":"10:00:19:00","wed":"10:00:19:00"},"climate":"WARM","address1":"1121 Manhattan Avenue","postalcode":"90266","longtitude":-118.4108153,"region":"SOUTHWEST","phone":"(310) 318-3116"},{"city":"Gardena","name":"SKECHERS Factory Outlet","latitude":33.8585645,"state":"CA","storenum":"2","country":"USA","storetype":"Outlet","hours":{"mon":"10:00:19:00","tue":"11:00:18:00","sun":"10:00:19:00","thur":"10:00:19:00","fri":"10:00:19:00","sat":"10:00:19:00","wed":"10:00:19:00"},"address1":"19000 S Vermont Ave.","postalcode":"90248","longtitude":-118.2899724,"phone":"(310) 327-4600"}]} ' http://retailapi-skechers-com.dev.skechers.com/api/v3/catalog/updateStores
{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":[{"city":"Manhattan Beach","name":"SKECHERS Retail","latitude":33.8845894,"state":"CA","description":"Manhattan Beach","storenum":"1","country":"USA","storetype":"Retail","hours":{"mon":"10:00:19:00","tue":"11:00:18:00","sun":"10:00:19:00","thur":"10:00:19:00","fri":"10:00:19:00","sat":"10:00:19:00","wed":"10:00:19:00"},"climate":"WARM","address1":"1121 Manhattan Avenue","postalcode":"90266","longtitude":-118.4108153,"region":"SOUTHWEST","phone":"(310) 318-3116"},{"city":"Gardena","name":"SKECHERS Factory Outlet","latitude":33.8585645,"state":"CA","storenum":"2","country":"USA","storetype":"Outlet","hours":{"mon":"10:00:19:00","tue":"11:00:18:00","sun":"10:00:19:00","thur":"10:00:19:00","fri":"10:00:19:00","sat":"10:00:19:00","wed":"10:00:19:00"},"address1":"19000 S Vermont Ave.","postalcode":"90248","longtitude":-118.2899724,"phone":"(310) 327-4600"}]}
Example Response
{}