CreateAppExtensionInput
Input fields
context
Defines the action that the control panel performs after the user clicks the App Extension label.
Allowed values:
label
The locale-aware link text options for the App Extension’s menu item. The control panel user sees this text value wherever they have the option to open the App Extension.
model
The entity type to which the App Extension relates; for example, Orders. The model corresponds with the page on which the App Extension appears.
Allowed values:
url
A relative path with some meaning to your app, most commonly an internally-defined GET route. The path should contain a path parameter that the app expects to be templated into its route, defined as a JavaScript string template expression. For example, /customer/auth/${id}. Currently, id is the only supported parameter. Limit 255 characters.