Aptos Set Item Status V2
Set an Aptos order item status by external order ID and line item number using the SetItemStatusByExternalIDs SOAP endpoint.
Endpoint
Uses the SetItemStatusByExternalIDs operation at https://api-jako.aptos.io/orderservice.asmx. The Aptos operation documentation is available at https://api-jako.aptos.io/orderservice.asmx?op=SetItemStatusByExternalIDs.
Send the request as SOAP 1.2. SOAP 1.2 uses the application/soap+xml content type and the http://www.w3.org/2003/05/soap-envelope envelope namespace.
POST /orderservice.asmx HTTP/1.1
Host: api-jako.aptos.io
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SetItemStatusByExternalIDs xmlns="http://api.shopvisible.com/">
<ClientName>string</ClientName>
<Guid>string</Guid>
<ExternalOrderID>string</ExternalOrderID>
<LineItemNumber>string</LineItemNumber>
<PartNumber>string</PartNumber>
<StatusId>int</StatusId>
<NoteText>string</NoteText>
<bSendEmail>boolean</bSendEmail>
<ProcessingOptions>string</ProcessingOptions>
</SetItemStatusByExternalIDs>
</soap12:Body>
</soap12:Envelope>Inputs
Provide these inputs when you use the action in your flow:
| Input | Type | Description |
|---|---|---|
| Aptos Client Name | String | Aptos client name passed as ClientName |
| Aptos GUID | String | Aptos GUID passed as Guid |
| External Order ID | String | External order ID of the order to update |
| Line Item Number | String | Line item number of the item to update |
| Part Number | String | Aptos product part number of the item to update |
| Status ID | Integer | Item status ID to set: 4 - Ordered, 24 - Item Return Received, 29 - Cancelled, etc |
| Note Text | Optional String | Optional note text to add |
| Send Email | Optional Boolean | Whether to send a customer email on update |
| Processing Options | Optional String | Optional processing options passed as ProcessingOptions |
| Subdomain | Optional String | Optional Aptos API subdomain; defaults to api-jako |
Outputs
| Output | Type | Description |
|---|---|---|
| Success? | Boolean | Whether the Set Item Status request was sent successfully |
| Order Status Response | Object | Response from the Set Item Status request |
| Error | String | Error message returned if the request fails |
Updated about 1 hour ago