v9

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-071292691.1 MB
strategies

Create strategy

Creates a new strategy within the caller account. When cluster_id is provided it must reference an existing cluster owned by the same account. When state_machine_id is omitted, the account default FULFILLMENT_ORDER state machine is resolved and stored; when provided it must reference an active FULFILLMENT_ORDER state machine.

post/api/v1/strategies

Request body

codestring required
namestring required
descriptionstring nullable
type'STORE' | 'DC' | 'DARK_STORE' | 'SELLER' | 'FULFILLMENT_NODE' required
category'SALES' | 'OPERATIONS' | 'SALES_AND_OPERATIONS' required
activeboolean required
daily_capacitynumber required
sfsboolean
endless_aisleboolean
operates_on_holidaysboolean
cluster_idstring nullable
state_machine_idstring nullable
colorstring
tagsstring[]
metadataobject

Response

Strategy created.

idstring required
codestring required
namestring required
descriptionstring nullable required
type'STORE' | 'DC' | 'DARK_STORE' | 'SELLER' | 'FULFILLMENT_NODE' required
category'SALES' | 'OPERATIONS' | 'SALES_AND_OPERATIONS' required
activeboolean required
sfsboolean required
endless_aisleboolean required
operates_on_holidaysboolean required
cluster_idstring nullable required
state_machine_idstring nullable required
colorstring nullable required
daily_capacitynumber required
tagsstring[] nullable required
metadataobject nullable required
created_atstring required
updated_atstring required