Create a widgetAsk AIpost https://{domain}.gorgias.com/api/widgetsBody Paramsapp_idstring | nullThe ID of the 3rd party app that the widget's data is attached to. Used for customer external data widgets.contextstringenumDefaults to ticketThe context to display this widget in. Supported values are: ticket, customer, user. The value <span style={{color: 'red'}}>user has been deprecated, please use customer instead.ticketcustomeruserAllowed:ticketcustomeruserdeactivated_datetimedate-time | nullWhen the widget was deactivated.integration_idinteger | null≥ 0ID of the integration that the widget's data is attached to. Only used for widgets attached to HTTP integrations. Widgets are the same for all Shopify integrations, but each HTTP integration needs a specific widget.orderinteger≥ 0Defaults to 0Order of precedence of the widget. Widgets with lower order are shown first.templateobjectrequiredTemplate to render the data of the widget.template objecttypestringenumrequiredType of data the widget is attached to.bigcommercecustomcustomer_external_datahttpmagento2rechargeshopifysmilestandaloneyotpoklaviyostripewoocommerceShow 13 enum valuesResponse 201The created widget.Updated 4 months ago