Skip to content

ffl_integrations.shipstation.api

Source: apps/ffl_integrations/ffl_integrations/shipstation/api.py · 2 endpoint(s)

Generated by make api-docs — do not edit by hand.

push_shipment

POST /api/method/ffl_integrations.shipstation.api.push_shipment

Auth (derived from code): Roles: Sales User / Sales Manager / Stock Manager / System Manager

Push a submitted order to ShipStation (the Pending Order Ship action).

Staff buy the label in ShipStation. Synchronous; idempotent (a second call after success is a no-op); persists nothing on API failure, so a retry after fixing the cause is safe. Independent of the Dispose step.

arg type required default description
sales_invoice string yes — Submitted Sales Invoice with a resolvable ship-to.

Returns: {ok, shipstation_order_id, shipstation_status, ...} — or {ok: True, already: True, ...} when previously pushed.

Permissions: Counter shipping roles.

apps/ffl_integrations/ffl_integrations/shipstation/api.py:273

test_connection

POST /api/method/ffl_integrations.shipstation.api.test_connection

Auth (derived from code): Roles: System Manager

Probe the ShipStation connection via GET /v2/carriers.

The Settings form's Test Connection button.

Returns: {ok, carrier_count, sandbox, warehouses: [...]}.

Permissions: System Manager (fires live outbound calls and returns the account's warehouse list).

apps/ffl_integrations/ffl_integrations/shipstation/api.py:429