Flow reference: Plugins
SellAuth: API Request
Call any SellAuth API action 1:1 (invoices, products, coupons, customers, tickets, subscriptions…).
Call any SellAuth API action 1:1 (invoices, products, coupons, customers, tickets, subscriptions…).
When and how to use it
Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.
Configuration fields
Action — operation
Choose the specific operation first, then fill only the inputs it requires. Different operations can return different data and can have different side effects.
Input: Fixed choice.
Default:
invoices.get.Available choices (preserve the exact value):
shop.stats — Shop: Get statsinvoices.list — Invoices: Listinvoices.get — Invoices: Getinvoices.process — Invoices: Processinvoices.status — Invoices: Update statusinvoices.archive — Invoices: Archiveinvoices.unarchive — Invoices: Unarchiveinvoices.note — Invoices: Update dashboard noteinvoices.paid — Invoices: Update paid amountinvoices.ship — Invoices: Mark as shippedinvoices.deliver — Invoices: Deliverinvoices.replace — Invoices: Replace deliveredinvoices.redo-dynamic — Invoices: Redo dynamic deliveryinvoices.resend — Invoices: Resend emailinvoices.reverse-affiliate — Invoices: Reverse affiliate commissioninvoices.reverse-cashback — Invoices: Reverse cashbackproducts.list — Products: Listproducts.get — Products: Getproducts.delete — Products: Deleteproducts.clone — Products: Cloneproducts.stock — Products: Update stock (variant)products.deliverables — Products: Get deliverables (variant)products.deliverables-append — Products: Append deliverablesproducts.deliverables-overwrite — Products: Overwrite deliverablescoupons.list — Coupons: Listcoupons.get — Coupons: Getcoupons.create — Coupons: Createcoupons.update — Coupons: Updatecoupons.delete — Coupons: Deletecoupons.delete-used — Coupons: Delete usedcustomers.list — Customers: Listcustomers.get — Customers: Getcustomers.create — Customers: Createcustomers.delete — Customers: Deletecustomers.balance — Customers: Edit balancecustomers.balance-history — Customers: Balance transactionscustomers.newsletter — Customers: Set newslettercustomers.discord-revoke — Customers: Revoke Discord logincustomers.tfa-disable — Customers: Disable 2FAsubscriptions.list — Subscriptions: Listsubscriptions.get — Subscriptions: Getsubscriptions.cancel — Subscriptions: Cancelcheckout.create — Checkout: Create sessiontickets.list — Tickets: Listtickets.stats — Tickets: Statstickets.get — Tickets: Gettickets.create — Tickets: Createtickets.close — Tickets: Closetickets.reopen — Tickets: Reopentickets.message — Tickets: Send messagefeedbacks.list — Feedback: Listfeedbacks.stats — Feedback: Statsfeedbacks.get — Feedback: Getfeedbacks.reply — Feedback: Replyfeedbacks.dispute — Feedback: Disputeabandoned.list — Abandoned checkouts: Listabandoned.stats — Abandoned checkouts: Statsabandoned.recover — Abandoned checkouts: Send recoveryanalytics.top-products — Analytics: Top productsanalytics.top-customers — Analytics: Top customersanalytics.traffic — Analytics: Traffic statscustom — Custom endpointID — id
Primary resource ID for the selected API operation, such as an invoice or product. IDs from different resource types are not interchangeable.
Input: Text.
Editor guidance: Invoice, product, coupon, customer, ticket… ID. Supports {variables}.
Default: ``.
Variant ID — id2
Secondary resource ID required by some operations, such as a variant beneath a product. Read the selected endpoint's requirements.
Input: Text.
Editor guidance: Only for stock and deliverables actions.
Default: ``.
Parameters — params
Endpoint parameters using the format shown, usually key=value per line. Use the parameter names accepted by the selected API action.
Input: Multiline text.
Editor guidance: One key=value per line, e.g. status=completed. Lists: statuses=completed,refunded or JSON. Names match the SellAuth API docs.
Default: ``.
Method (custom only) — method
Choose the HTTP method required by the endpoint. GET reads; POST/PATCH/DELETE can change data. Verify against that API's current documentation.
Input: Text.
Editor guidance: GET, POST, PUT or DELETE
Default:
GET.Path (custom only) — path
Use the path format required by this block. Parse JSON selects a value inside JSON; custom API paths select an endpoint.
Input: Text.
Editor guidance: After /v1/shops/{shop}, e.g. /payment-methods
Default: ``.
Store as — storeAs
Choose a short result prefix such as result. Later blocks must use this same prefix and run after this block. It is not a Discord channel or a persistent table.
Input: Text.
Editor guidance: {sa.status}, {sa.json}, {sa.<field>}, lists: {sa.count}, {sa.list}, {sa.first.<field>}; errors: {sa.error}
Default:
sa.Outputs and next steps
ok: The operation succeeded.failed: The operation failed; provide a safe error response.Read the result after this block, using its configured prefix and the fields supported by the selected operation. Do not assume every response has a text or id field.
Test and troubleshoot
Install the corresponding plugin and configure its required accounts, channels and secrets. Test an API read before a write operation. An external-service error is not a reason to recreate the whole bot.
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).