MiB

Sharing

Generate and consume share links.

POST /share

Authentication is required.

Request

{
  "identity": {
    "customerId": "8769049329896",
    "sessionId": null,
    "email": "customer@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "device": "desktop",
    "locale": "en"
  },
  "channel": "Link"
}

Response

{
  "shareLink": "https://example.myshopify.com/apps/mib-wishlist/wishlist/share/....",
  "code": "...."
}

Parameters

FieldTypeRequiredDescription
channelstringyesFacebook, Twitter, Pinterest, Email, Link.

Get shared items

GET /share/:code/items

Authentication is required.

Response

{
  "shareCode": "....",
  "profileId": "cuid...",
  "items": [
    {
      "id": "cuid...",
      "profileId": "cuid...",
      "shop": "example.myshopify.com",
      "productId": "gid://shopify/Product/1",
      "variantId": null,
      "productTitle": "Sunglasses",
      "variantTitle": null,
      "productHandle": "sunglasses",
      "image": "https://cdn.example.com/image.jpg",
      "price": "49.00",
      "compareAt": "69.00",
      "properties": { "custom": "value" },
      "quantity": 1,
      "source": "pdp",
      "lastInventory": null,
      "lastPriceDropNotifiedPrice": null,
      "lastPriceDropNotifiedAt": null,
      "lastBackInStockNotifiedAt": null,
      "lastLowStockNotifiedAt": null,
      "addedAt": "2026-02-07T10:00:00.000Z",
      "updatedAt": "2026-02-07T10:00:00.000Z"
    }
  ]
}

On this page