GET
/
wishlist
/
{user_id}
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/wishlist/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "products": [
      {
        "product_id": "<string>",
        "product_name": "<string>",
        "variant_id": "<string>",
        "variant_name": "<string>",
        "product_type": "physical",
        "sku": "<string>",
        "stock_available": true,
        "is_featured": false,
        "on_offer": false,
        "on_subscription": false,
        "on_promotion": false,
        "attributes": [
          {
            "id": "<string>",
            "name": "<string>",
            "attribute_type": "single_select",
            "attribute_value": "<string>",
            "is_visible": true,
            "is_filterable": false
          }
        ],
        "images": [
          {
            "title": "<string>",
            "alternate_text": "<string>",
            "sort_order": 123,
            "url_tiny": "<string>",
            "url_thumbnail": "<string>",
            "url_standard": "<string>",
            "url_zoom": "<string>"
          }
        ],
        "pricing": {
          "currency": "<string>",
          "tax_region": "<string>",
          "tax_type": "GST",
          "tax_rate": 123,
          "price_including_tax": false,
          "listing_price": 123,
          "selling_price": 123,
          "min_order_quantity": 123,
          "max_order_quantity": 123
        },
        "shipping": {
          "is_free_shipping": false,
          "is_fixed_cost_shipping": false,
          "fixed_cost_shipping_price": 123,
          "shipping_price_including_tax": true,
          "availability_description": "<string>",
          "ships_internationally": true,
          "mid_code": "<string>",
          "country_of_origin": "India",
          "tax_region": "<string>",
          "tax_type": "<string>",
          "tax_rate": 123
        },
        "tags": [
          "<string>"
        ],
        "category_ids": [
          "<string>"
        ],
        "reviews_rating_sum": 123,
        "reviews_count": 123,
        "promotion": [
          {
            "type": "discount",
            "details": {
              "discount_type": "percent",
              "discount_percent": 10,
              "discount_amount": 150.65,
              "max_amount": 2500
            }
          }
        ],
        "subscription": [
          {
            "subscription_plan": "<string>",
            "subscription_price": 123,
            "billing_interval": 123,
            "billing_frequency": "monthly",
            "billing_limit": 123,
            "fulfill_separately": false,
            "order_interval": 123,
            "order_frequency": "monthly",
            "order_limit": 123,
            "quantity": 123,
            "billing_trial_days": 123
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

user_id
string
required

user id

Response

200 - application/json
OK
message
string
success
boolean
content
object