Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

farski

Member
  • Content Count

    1
  • Joined

  • Last visited

  1. 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
×
×
  • Create New...