To get the invoiced orders that were made through inStore, it is necessary that the team of developers responsible for your store create an integration using the Order Feed. To do this, follow the settings below:
- Configure the feed notifications with the order filter with the following information:
"status"field with the value
"customData.cart-type"field with a value of
- Once the feed is set up, you can check the notifications of the orders placed by inStore. In the notification, there will be the
"OrderId"field that must be used in the Get order endpoint.
- Use the Get order endpoint to query the order information. The order must contain the following data:
salesChannelfield with the ID of the business policy used by the sales channel.
- The field
"isCheckedIn"with the value
truefor orders placed in the physical store.
From this information, a billing middleware for the physical store integrated with inStore is required to perform this query. You can either contract a middleware from VTEX by contacting our Support or build your own by following the steps described in the article Create a middleware to issue tax coupons for the inStore.
To check the order once, you can also use the List orders endpoint, but we do not recommend the use for integrations.
Updated 21 days ago