Skip to content

Targets and capabilities ​

A target determines where an extension appears and which runtime interface it uses. These targets are defined by the platform contract; check destination capabilities before installing.

Target reference ​

TargetInstallation ownerWhat you deliverSelection context
orders.list.bulkmerchantYour web page URLOrder IDs selected when opened
admin.orders.show.actionmerchantYour web page URLCurrent order ID
admin.order-details.action.rendermerchantUI module (Remote DOM)Current order ID; supports Host metadata requests
operator.order-details.action.renderorganizationUI module (Remote DOM)Current order ID; business APIs use your backend
operator.fulfillment-details.action.renderorganizationUI module (Remote DOM)Fulfillment ID, with an additional data.order_id

A web-based action declares an application_url that you deploy. Business operations normally go through your backend to Partners or Connect. The platform embeds your page in an iframe and provides a Bridge; see Identity and authorization.

CLI module examples use *.render targets and deliver a module the platform can execute. Order details currently support both web pages and modules; bulk actions currently support web pages only. These delivery contracts differ, so changing the target name alone does not convert an extension. App Home uses the App's application_url without declaring one of these targets.

Selection is not authorization ​

Remote DOM provides api.data.selected as [{ id }]; a web-based action obtains context.data.selected through the Bridge. These are snapshots taken when the extension opens. Explicitly pass the resource ID with each request; the platform rechecks permissions and tenant boundaries.

For a fulfillment target, the selected ID is a fulfillment, not an order. Use data.order_id for the page's order context. On a fulfillment detail page, the action is available only when both the fulfillment and its single associated order belong to the operator's current warehouse. A fulfillment combining multiple orders does not have this detail-page entry.

Visibility and lifecycle ​

Visibility also depends on a usable installation, target, user permissions, and warehouse. A fulfillment target can declare fulfillment_statuses to limit visibility to listed statuses; this requires the deployment capability manifest:fulfillment-statuses:v1.

Stop using an API object when the action closes, the page is left, or its instance expires. Reopening creates a new execution context. Do not continue calling request(), refresh(), or sessionToken.get() after closing the action.

Continue with Host SDK and Identity and authorization.

Last updated 2026-11-29 21:53