Developers
Start building
AI/Tool reference/Channels/Marketplace orders

Marketplace orders

The 3 tools of the Marketplace orders toolset in the Channels area, with their permissions, approval rules and inputs.

On this page

Toolset feed_orders, 3 tools.

Records

feed_order

The marketplace a store order came from and its sync state with that marketplace. Pass the store order ID.

  • Permission: feeds.read
  • Tools: feed_order_get

Actions

feed_order_book_parcels

Set whether fulfilling this feed's orders books their parcels on the site.

Off by default for a feed.

  • Action key: feed_order.book_parcels
  • Permission: feeds.write
  • Approval: Waits for approval when the store requires it for this action.
  • Effect: Changes the live store.
  • Retries: safe to repeat with the same input.
FieldTypeRequiredDescription
feed_idstringyesFeed ID. 1 to 64 characters
onbooleanyes

Example input:

{
  "feed_id": "019bb295-753c-7642-bb09-0ac0eda0f41b",
  "on": true
}

feed_order_retry

Try again the order calls a marketplace did not take.

With ledger_id, tries that one failed order call again (read it from the feed get sync state). Without it, tries every order call the site never took (statuses, shipments, invoices).

  • Action key: feed_order.retry
  • Permission: feeds.write
  • Approval: Waits for approval when the store requires it for this action.
  • Effect: Changes the live store.
  • Retries: safe to repeat with the same input.
  • Sends something to customers.
FieldTypeRequiredDescription
feed_idstringyesFeed ID. 1 to 64 characters
ledger_idstringat least 1 characters

Example inputs:

{
  "feed_id": "019bb295-753c-7642-bb09-0ac0eda0f41b"
}
{
  "feed_id": "019bb295-753c-7642-bb09-0ac0eda0f41b",
  "ledger_id": "019bb35d-c029-7310-a779-b8983e412992"
}
Last updated