Documentation
Feedback
Guides
API Reference

Guides
Getting Started

Integration Guides




Payments

Orders

Fulfillment

VTEX inStore

UI Customization

Message Center

Pricing

Promotions

Infrastructure

Conversational Commerce

Search

VTEX Session

VTEX inStore
Invoiced orders
Setting up fields for issuing invoices with inStore

For the invoice of an order made using inStore to have all the necessary fields, you need to configure some extra fields in the orderForm. In addition, these extra fields allow VTEX orders module to correctly identify when an order is made through inStore.

To set these extra fields up, follow the steps below:

  1. Make a request to the Get orderForm configuration.
  2. Save the response from this request.
  3. You will see that the "apps" property will have the value of an empty array ([]). Insert the following snippet in the brackets:
{ "fields": [ "cart-extra-context", "cart-type", ], "id": "cart-extra-context", "major": 1 }
  1. Save your text file.
  2. Make a request to the Update orderForm configuration. The body of this POST will be the entire content of the file from the previous step.

Now the orderForm of your orders already has the extra fields. To check if the POST has succeeded, you can check the update by using the Get orderForm configuration and verify that the "apps" property has the new information.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Get invoiced orders placed in inStore
How to identify the store and sales associate in an inStore order
Contributors
1
Photo of the contributor
+ 1 contributors
On this page