Skip to main content

supplyPushPurchaseOrders

Pushes one or more purchase orders to an ERP integration that accepts them.

Authentication Requirements​

Requires the supply:push_to_accounting permission for the company.

Business Rules​

  • Between one and 50 purchase orders per request
  • Each purchase order must belong to the authenticated company and have at least one line
  • A purchase order that is archived, closed or cancelled cannot be pushed
  • Each supplier must be mapped to a vendor in the target integration
  • The integration must declare that it can accept purchase orders

Behavior​

Returns a process ID immediately; the push itself runs in the background and reports per-document outcomes through process_status_updates. A purchase order already present in the target system is updated rather than duplicated.

supplyPushPurchaseOrders(
input: SupplyPushPurchaseOrdersInput!
): AsynchronousActionResponse!

Arguments​

supplyPushPurchaseOrders.input ● SupplyPushPurchaseOrdersInput! non-null input common​

Parameters for SupplyPushPurchaseOrders

Type​

AsynchronousActionResponse object common​

Asynchronous action response type