Introduction
Pull SKECHERS.com sales statistics and reports.
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
Search Discount Sales
search discount code sales summary based on start/end date, discount codes and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
discountcodes: list of string
optionallist of discount codes -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"discountcodes":["QHUANG6TSO"],"excludestatus":["CANC","CNCQ","CNCP"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchDiscountCodeSales
Example Response
Live Response
Search Gift card or Reward
search information about gift card or reward certificate.
Request Parameters
-
orderid: Int
optionalorder id of the gift card or reward -
email: string
optionalEmail of the user who orders the gift card or reward -
crmid: string
optionalcrm id -
cardnum: string
optionalcard number of the gift card / reward payment -
pin: string
optionalpin of the gift card / reward payment
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"email":""}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchGcOrRc
Example Response
Live Response
Search Itemized Discount Sales
search Itemized discount code sales based on start/end date, discount code and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
discountcode: string
optionaldiscount code -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"discountcode":"QHUANG6TSO","excludestatus":["CANC","CNCQ","CNCP"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchItemizedDiscountSales
Example Response
Live Response
Search Itemized Referral Sales
search Itemized Referral sales based on start/end date, discount code and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
refid: string
optionalreferral id -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"refid":"QHUANG6TSO","excludestatus":["CANC","CNCQ","CNCP"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchItemizedReferralSales
Example Response
Live Response
Search Referral Sales
search Referral sales summary based on start/end date, optional referral id and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
refid: string
optionalreferral id -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"start":1383497079767,"end":1413997339767,"refid":"OBWelcomeElite","excludestatus":["CANC","CNCQ","CNCP"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchReferralSales
Example Response
Live Response
Search Store Sales
search retail web sales summary based on start/end date, store numbers and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
storenums: list of string
optionallist of store numbers -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"start":1413497079767,"end":1413997339767,"storenums":["900"],"excludestatus":["CANC","CNCQ","CNCP"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchStoreSales
Example Response
Live Response
Search Style Sales
search style code sales summary based on start/end date, style codes and order item status.
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
stylecodes: list of string
optionallist of style codes -
discountcodes: list of string
optionallist of discount codes -
divisions: list of string
optionallist of divisions -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"stylecodes":["10239","10249"]}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchStyleCodeSales
Example Response
Live Response
SearchOrderAttempts
Search order attempts by order timestamp, Order ID...
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
orderid: int
optionalOrder ID -
email: string
optionalCustomer's Email Address -
phone: string
optionalCustomer's Phone number -
firstname: string
optionalCustomer's first name -
lastname: string
optionalCustomer's last name -
limit: number
optionalMax Results
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"firstname":"amy","lastname":"ruan"}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchOrderAttempts
Example Response
Live Response
SearchSaleStat
Search sales statistics for today, today previous year, YTD, YTD previous year.
Request Parameters
-
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchSalesStat
Example Response
Live Response
SearchSales
Search sales by order timestamp, Order ID,
Request Parameters
-
start: long
optionalStart time for order time search -
end: long
optionalEnd time for order time search -
limit: number
optionalMax Results -
salesType: String
optionaleither daily/weekly -
excludestatus: list of String
optionalexcluded order item status, example:"CANC", "CNCQ", "CNCP"
Example Request
curl \
-X POST \
-H "Content-type: application/json" \
-d '{"apikey":"AY8ZRNUHN2I4MNM5JQDDWVBXWQBEUH","request":{"start":1403997079767,"end":1413997339767}} ' http://retailapi-skechers-com.dev.skechers.com/api/order/searchSales