@stylusapparel/stylusop-api-node-wrapper
Version:
This is the official NodeJs wrapper for connecting to the StylusOP API
48 lines • 1.23 kB
JSON
{
"MOCK_LIST_PRODUCTS_RESPONSE": {
"success": true,
"message": "Successfully retrieved Products",
"products": [
{
"name": "leggings",
"title": "Leggings",
"productId": "QRB250ec24",
"skuCode": "QRB250"
},
{
"name": "cotton-tote-bag",
"title": "Cotton Tote Bag",
"skuCode": "QRB302",
"productId": "QRB209d74a"
}
]
},
"MOCK_SEARCH_PRODUCT": {
"limit":20,
"keyword":"legg"
},
"MOCK_FIND_VARIANTS_RESPONSE": {
"success": true,
"message": "Successfully retrieved variants",
"variants": [
{
"sku": "B150_BK_OS",
"properties": {
"color": "Black",
"size": "OS"
}
},
{
"sku": "B150_NATURAL/BLACK_OS",
"properties": {
"color": "Natural/Black",
"size": "OS"
}
}
]
},
"MOCK_FIND_VARIANT": {
"limit":20,
"variantIds":["B150_BK_OS","B150_NATURAL/BLACK_OS"]
}
}