supplySendAsnToWms
Sends one or more ASNs (Advanced Shipping Notices) to their respective downstream WMS (Warehouse Management System) integration for processing.
Authentication Requirements
Requires the supply:send_to_wms permission for the brand.
Business Rules
- At least one ASN ID must be provided
- Maximum of 50 ASNs can be processed per request
- Each ASN must exist and belong to the authenticated brand
- ASNs cannot be in 'closed' or 'canceled' status
- Each ASN must have at least one item
- Each ASN must have a destination warehouse assigned
- The destination warehouse must have a fulfillment integration configured
Behavior
This mutation initiates an asynchronous process to send the specified ASNs to their respective WMS integrations. A process ID is returned that can be used to track the status of the operation. If some ASNs fail validation or cannot be sent, the process will complete with a partial failure status indicating which ASNs failed.
Possible Errors
- **GraphQL::ExecutionError**: "At least one ASN ID must be provided" - Empty ASN IDs array
- **GraphQL::ExecutionError**: Authentication error - Missing or insufficient permissions
supplySendAsnToWms(
input: SupplySendASNToWmsInput!
): AsynchronousActionResponse!
Arguments
supplySendAsnToWms.input ● SupplySendASNToWmsInput! non-null input
Parameters for SupplySendASNToWms
Type
AsynchronousActionResponse object
Asynchronous action response type