For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Channel & Sales Staff Instore Data

Overview

extra_field is an object returned in the order detail API response. It is populated by the system and is read-only: it cannot be set or updated through the API.

When extra_field contains a nested instore_data object, the order is associated with an in-store (POS) sale.

extra_field can carry other data in different contexts. This guide covers only the instore_data object.

Usage

extra_field.instore_data is used on the Customer Order Detail page to display the Order Channel and Sales Staff information.

instore_data Fields

Field
Type
Description

staff_retail_store_name

string

Name of the store where the sale was made.

staff_first_name

string

First name of the staff member who made the sale.

staff_last_name

string

Last name of the staff member who made the sale.

How the Field Is Set

extra_field and its instore_data object are set automatically by the system based on the sales channel.

  • In-store (POS) sales: extra_field.instore_data is populated with the store and staff member who made the sale.

  • Online and other channel sales: instore_data is not set. extra_field may be empty, contain other data without instore_data, or be omitted entirely.

Default Value

extra_field has no default value. If the field is null or not returned, the Order Channel and Sales Staff section is not displayed.

Override Rules

extra_field and instore_data cannot be overridden:

  • The field cannot be written, modified, or sent back through the API.

  • The displayed value always reflects the value returned in the order detail response.

  • The value is fixed per order and does not change across different views of the same order.

Scenarios and Examples

The following table summarizes the three possible scenarios and the resulting UI behavior.

Scenario
extra_field
UI Result

1. In-store (POS) order

Contains instore_data

Store name and staff name are displayed.

2. Online or other channel order

Present, without instore_data

Generic channel label is displayed; staff information is hidden.

3. No extra data

null or not returned

Order Channel and Sales Staff section is hidden.

Scenario 1: In-Store (POS) Order

instore_data is populated.

UI result:

  • Order Channel: Example Store

  • Sales Staff: Jane Doe

Scenario 2: Online or Other Channel Order

extra_field is present but does not contain instore_data.

UI result:

  • Order Channel: Store (generic label)

  • Sales Staff information is not displayed.

Scenario 3: No extra_field

extra_field is null or not returned.

UI result:

  • The Order Channel and Sales Staff section is not displayed.

Last updated

Was this helpful?