Description
You can change the Status of Fullfilment orders
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
XML |
string |
1 |
abcdefg |
Place XML here. Samples you find in additional notes |
| 2 |
CreateInvoices |
string |
0 |
A |
If invoice should be created use "Y" otherwise "N" |
| 3 |
SupplNr |
string |
0 |
abcdefg |
Short name of Supplier |
| 4 |
Secret |
string |
0 |
abcdefg |
Customer number of Supplier |
Request body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
<soapenv:Header/>
<soapenv:Body>
<dem:pixiDFSetStatus>
<dem:XML>abcdefg</dem:XML>
<dem:CreateInvoices>A</dem:CreateInvoices>
<dem:SupplNr>abcdefg</dem:SupplNr>
<dem:Secret>abcdefg</dem:Secret>
</dem:pixiDFSetStatus>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1:
| # |
Name |
Type |
Description |
| 6 |
Error |
integer |
Error code |
| 7 |
ErrorMsg |
string |
Error Message |
Additional Notes
**Sample XML:**
<SETDFSTATUS>
<ITEM>
<ORDERHISTORYKEY>432046</ORDERHISTORYKEY>
<STATUS>FUS</STATUS>
<QTY>1</QTY>
<SHIPDATE>20100114 23:40:12</SHIPDATE>
<TRACKINGID>233242345345</TRACKINGID>
<INVOICENREXTERNAL>RE234234</INVOICENREXTERNAL>
<BESTBEFOREDATE>03-13-2023</BESTBEFOREDATE>
<BATCHNUMBER>BN0113</BATCHNUMBER>
<SERIALNUMBER>SN-11223344</SERIALNUMBER>
</ITEM>
<ITEM>
<ORDERHISTORYKEY>432051</ORDERHISTORYKEY>
<STATUS>FUS</STATUS>
<QTY>1</QTY>
<SHIPDATE>01-01-2010 11:11:11</SHIPDATE>
<TRACKINGID>233242345345</TRACKINGID>
<INVOICENREXTERNAL>RE234234</INVOICENREXTERNAL>
<BESTBEFOREDATE>09-22-2023</BESTBEFOREDATE>
<BATCHNUMBER>BN0333</BATCHNUMBER>
</ITEM>
<ITEM>
<ORDERHISTORYKEY>432052</ORDERHISTORYKEY>
<STATUS>STO</STATUS>
<QTY>1</QTY>
<SHIPDATE>01-13-2010</SHIPDATE>
<TRACKINGID>233242345345</TRACKINGID>
<INVOICENREXTERNAL>RE234234</INVOICENREXTERNAL>
<SERIALNUMBER>SN-55667788</SERIALNUMBER>
</ITEM>
</SETDFSTATUS>
*ORDERHISTORYKEY* = Unique orderline ID; can be retrieved from API calls pixiDFGetOrderlines or pixiDFGetChanges
*QTY* = Orderline quantity for the status change
*STATUS* = New status for the orderline
*SHIPDATE* = Set the ship date for the orderline (DF Ship Date)
*TRACKINGID* = DF Shipment TrackingID
*INVOICENREXTERNAL* = Orderlines invoice number
*BATCHNUMBER* = Set batch number for items tagged with Batch Number
*BESTBEFOREDATE* = Set best before date for items tagged with Best Before Date
*SERIALNUMBER* = Set item serial number
**Info**: Depending on where you execute the call, the XML might need to be put into a `<![CDATA[...]]>` block.