Custom Variables
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
The ID of the store to retrieve custom variables for.
411486491630370816OK
411486491630370816411486491630370816Unique identifier string used to reference this custom variable programmatically. Must contain only letters, numbers, underscores, and hyphens.
Display name for the custom variable shown to customers.
Description explaining what this custom variable is for. Can be shown to customers.
Defines the type of input method for a custom variable.
Optional regex pattern to validate text/number input values. Only applies to text and number types. Uses RE2 syntax - does not support negative lookarounds, backreferences, or other advanced regex features.
When this custom variable was created.
When this custom variable was last updated. Null if never updated.
Error response
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
The ID of the store to create the custom variable in.
411486491630370816Unified request model for creating or updating custom variables. Contains all the configurable properties of a custom variable.
Unique identifier string for programmatic reference. Must contain only letters, numbers, underscores, and hyphens.
Display name shown to customers.
Description explaining the purpose of this custom variable.
Defines the type of input method for a custom variable.
Optional regex pattern for validating customer input. Only applies to text and number types. Ignored for dropdown types.
OK
411486491630370816411486491630370816Unique identifier string used to reference this custom variable programmatically. Must contain only letters, numbers, underscores, and hyphens.
Display name for the custom variable shown to customers.
Description explaining what this custom variable is for. Can be shown to customers.
Defines the type of input method for a custom variable.
Optional regex pattern to validate text/number input values. Only applies to text and number types. Uses RE2 syntax - does not support negative lookarounds, backreferences, or other advanced regex features.
When this custom variable was created.
When this custom variable was last updated. Null if never updated.
Error response
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
The ID of the store the custom variable belongs to.
411486491630370816The ID of the custom variable to retrieve.
411486491630370816OK
411486491630370816411486491630370816Unique identifier string used to reference this custom variable programmatically. Must contain only letters, numbers, underscores, and hyphens.
Display name for the custom variable shown to customers.
Description explaining what this custom variable is for. Can be shown to customers.
Defines the type of input method for a custom variable.
Optional regex pattern to validate text/number input values. Only applies to text and number types. Uses RE2 syntax - does not support negative lookarounds, backreferences, or other advanced regex features.
When this custom variable was created.
When this custom variable was last updated. Null if never updated.
Not Found
Error response
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
The ID of the store the custom variable belongs to.
411486491630370816The ID of the custom variable to delete.
411486491630370816No Content
Error response
No content
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
The ID of the store the custom variable belongs to.
411486491630370816The ID of the custom variable to update.
411486491630370816Unified request model for creating or updating custom variables. Contains all the configurable properties of a custom variable.
Unique identifier string for programmatic reference. Must contain only letters, numbers, underscores, and hyphens.
Display name shown to customers.
Description explaining the purpose of this custom variable.
Defines the type of input method for a custom variable.
Optional regex pattern for validating customer input. Only applies to text and number types. Ignored for dropdown types.
OK
411486491630370816411486491630370816Unique identifier string used to reference this custom variable programmatically. Must contain only letters, numbers, underscores, and hyphens.
Display name for the custom variable shown to customers.
Description explaining what this custom variable is for. Can be shown to customers.
Defines the type of input method for a custom variable.
Optional regex pattern to validate text/number input values. Only applies to text and number types. Uses RE2 syntax - does not support negative lookarounds, backreferences, or other advanced regex features.
When this custom variable was created.
When this custom variable was last updated. Null if never updated.
Error response
Last updated
Was this helpful?
