Skip to content

Instantly share code, notes, and snippets.

@jahilldev
Created May 20, 2024 15:46
Show Gist options
  • Save jahilldev/a24196d952bd9d024a548787c2795545 to your computer and use it in GitHub Desktop.
Save jahilldev/a24196d952bd9d024a548787c2795545 to your computer and use it in GitHub Desktop.
{"success":true,"samplesPurchased":[[{"id":"gid://shopify/Product/9775822799151","title":"New Leaf","handle":"new-leaf","description":"","onlineStoreUrl":null,"featuredImage":null,"variants":[{"id":"gid://shopify/ProductVariant/48996506665263","sku":"NELE30ML20"}],"isDiscovery":false,"isFragrance":true,"isGift":false,"isSample":false},{"id":"gid://shopify/Product/9128802648367","title":"No Reason","handle":"example-product-1","description":"","onlineStoreUrl":null,"featuredImage":{"width":1460,"height":1457,"altText":null,"url":"https://cdn.shopify.com/s/files/1/0839/6806/5839/products/TEST.jpg_0005_Layer0.jpg?v=1695820293"},"variants":[{"id":"gid://shopify/ProductVariant/47408366125359","sku":"NORE30ML25"}],"isDiscovery":false,"isFragrance":true,"isGift":false,"isSample":false},{"id":"gid://shopify/Product/9775824142639","title":"Slow Exhale","handle":"slow-exhale","description":"","onlineStoreUrl":null,"featuredImage":null,"variants":[{"id":"gid://shopify/ProductVariant/48996521836847","sku":"SLEX30ML20"}],"isDiscovery":false,"isFragrance":true,"isGift":false,"isSample":false}]],"nextSamples":[]}
@jahilldev
Copy link
Author

The above is a full response based on a customer who's already purchased the sample pack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment