Custom Variables
Retrieves all custom variables for the specified store.
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
Error response
Creates a new custom variable for the specified store. Custom variables allow customers to provide additional input when purchasing products.
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
Error response
Retrieves a specific custom variable by ID from the specified store.
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
Not Found
Error response
Deletes a custom variable from the specified store. This will also delete all associated options and cannot be undone.
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
Performs a partial update of a custom variable using field mask. Only the fields specified in the request will be updated.
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
Error response
Last updated
Was this helpful?
