farski Posted July 4, 2019 Share Posted July 4, 2019 I looking for a way to retrieve inventory data related to an order. I have a webhook setup in Stripe, to get notifications when orders are placed. Stripe passes along the Squarespace orderId , so I'm able to use the Orders API to get data about the order. The Inventory API, though, expects a variantId1 , and it doesn't seem like that is included in the Orders API response. The only inventory-related values I'm seeing in the order response are sku and productId , but neither of those work as values to send to the Inventory ID. Is there a way to do this, other than requesting the entire inventory from the API and paging through it until I find the correct SKU? Thanks Link to comment
This topic is now archived and is closed to further replies.