Skip to main content
GET
/
shops
/
{shopId}
/
customers
/
{userId}
/
wishlist
Get Customer Wishlist
curl --request GET \
  --url http://staging.qshop.ng/apiv2/shops/{shopId}/customers/{userId}/wishlist
{
  "msg": "<string>",
  "data": [
    {
      "_id": "<string>",
      "shop": "<string>",
      "product": {
        "reviews": {
          "rates": {
            "1": 123,
            "2": 123,
            "3": 123,
            "4": 123,
            "5": 123
          },
          "count": 123
        },
        "_id": "<string>",
        "tags": [
          "<string>"
        ],
        "additional_media": [
          {
            "media_type": "<string>",
            "media": "<string>",
            "_id": "<string>",
            "uuid": "<string>"
          }
        ],
        "attributes": [
          {
            "name": {
              "name": "<string>",
              "_id": "<string>"
            },
            "options": [
              {
                "name": "<string>",
                "label": "<string>",
                "id": "<string>"
              }
            ]
          }
        ],
        "variants": "<array>",
        "stock": 123,
        "digital": true,
        "media": "<string>",
        "media_type": "<string>",
        "name": "<string>",
        "description": "<string>",
        "price": 123,
        "shop": "<string>",
        "created": "<string>",
        "sale_price": 123,
        "archived": true,
        "__v": 123,
        "digital_download": "<unknown>",
        "draft": true,
        "numberOfPurchase": 123,
        "onSale": true,
        "slug": "<string>",
        "alwaysInStock": true,
        "categories": "<array>",
        "costPrice": "<unknown>",
        "isHero": true,
        "type": "<string>",
        "variantsInheritPrice": true,
        "setAttributesForVariants": true,
        "brand": "<string>",
        "modified": "<string>",
        "sku": "<string>",
        "typeAttributes": {
          "packaging": {
            "weight": "<string>",
            "length": "<string>",
            "width": "<string>",
            "height": "<string>"
          }
        },
        "dimension": {
          "unit": "<string>",
          "length": 123,
          "width": 123,
          "height": 123
        },
        "weight": {
          "base": {
            "unit": "<string>",
            "value": 123
          },
          "unit": "<string>",
          "value": 123
        }
      },
      "user": {
        "_id": "<string>",
        "telephone": "<string>"
      },
      "profile": {
        "campaigns": "<array>",
        "_id": "<string>",
        "shop": "<string>",
        "user": "<string>",
        "__v": 123,
        "acceptanceToken": "<unknown>",
        "created_at": "<string>",
        "email": "<string>",
        "fullName": "<string>",
        "isClaimed": true,
        "notes": "<array>",
        "notifyViaWhatsApp": true,
        "numberOfOrders": 123,
        "orderTotal": 123,
        "password": "<string>",
        "resetPassword": true,
        "roles": [
          "<string>"
        ],
        "suspended": true,
        "suspendedRoles": "<array>",
        "telephone": "<string>",
        "updated_at": "<string>",
        "whatsAppNumber": "<string>"
      },
      "created": "<string>",
      "__v": 123,
      "variant": "<unknown>"
    }
  ],
  "success": true
}

Path Parameters

shopId
string
required
userId
string
required

Query Parameters

page
string
limit
string

Response

200 - application/json
msg
string
required
data
object[]
required
success
boolean
required