This method returns a specific amount (this number may change in a future release) of orders that have not yet been marked as ‘imported’ by a "setImportedOrders-Request".
The method will always return the same orders if you don’t mark the orders as ‘imported’ by a "setImportedOrders-Request"!
GetNewMarketplaceOrdersResponse getNewMarketplaceOrders(
CPAuth auth
);
PHP-Codesnippets and samples for this function can be found here.
Input
Parameter | Type | Optional | Comment |
auth | CPAuth | no | Authentication data |
Output
This method returns a "GetNewMarketplaceOrderResponse".
Example (SOAP-UI)
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v4="http://v4_2.seller.api.channelpilot.com/">
<soapenv:Header/>
<soapenv:Body>
<v4:getNewMarketplaceOrders>
<auth>
<merchantId>xxxxxxxxxx</merchantId>
<shopToken>xxxxxxxxxx</shopToken>
</auth>
</v4:getNewMarketplaceOrders>
</soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getNewMarketplaceOrdersResponse xmlns:ns1="http://v4_2.seller.api.channelpilot.com/">
<return>
<header>
<resultCode>200</resultCode>
<resultMessage/>
</header>
<moreAvailable>false</moreAvailable>
<countMoreAvailable>0</countMoreAvailable>
<orders>
<orderHeader>
<orderIdExternal>TEST_ORDER_531_1</orderIdExternal>
<source>ebay.de</source>
<status>
<identifier>10</identifier>
<publicTitle>Bereit für den Import</publicTitle>
<publicDescription>Bestellung ist bereit für den Import in den Shop</publicDescription>
<hasError>false</hasError>
</status>
<orderTime>2019-02-01T14:24:06+01:00</orderTime>
<isBusinessOrder>false</isBusinessOrder>
</orderHeader>
<customer>
<genderId>2</genderId>
<nameFirst>Max</nameFirst>
<nameLast>Mustermann</nameLast>
<nameFull>Max Mustermann</nameFull>
<email>max@mustermann.com</email>
<phone>0123456789</phone>
<mobile>3456789012</mobile>
<fax>8945672130</fax>
<vat>DE2834379</vat>
<siret> 78746532534573</siret>
</customer>
<addressInvoice>
<genderId>2</genderId>
<nameFirst>Max</nameFirst>
<nameLast>Mustermann</nameLast>
<nameFull>Max Mustermann</nameFull>
<company/>
<streetTitle>Musterstr.</streetTitle>
<streetNumber>3</streetNumber>
<streetFull>Musterstr. 3</streetFull>
<streetExtra/>
<city>Hamburg</city>
<state>Hamburg</state>
<zip>20457</zip>
<countryIso2>DE</countryIso2>
<countryIso3>DEU</countryIso3>
<phone>0123456789</phone>
</addressInvoice>
<addressDelivery>
<genderId>1</genderId>
<nameFirst>Test</nameFirst>
<nameLast>Tester</nameLast>
<nameFull>Test Tester</nameFull>
<company>Testcompany</company>
<streetTitle>Musterstr.</streetTitle>
<streetNumber>3</streetNumber>
<streetFull>Musterstr. 3</streetFull>
<streetExtra>first floor</streetExtra>
<city>Hamburg</city>
<state>Hamburg</state>
<zip>20457</zip>
<countryIso2>DE</countryIso2>
<countryIso3>DEU</countryIso3>
<phone>0123456789</phone>
</addressDelivery>
<itemsOrdered>
<idExternal>TEST_ORDER_531_1_ITEM_1</idExternal>
<article>
<id>1053977-004</id>
<idExternal>TEST_ORDER_531_1_ARTICLE_1</idExternal>
<title>Mountain Equipment Herren Lhotse Jacke Regenjacke Hardshelljacke</title>
<ean>5053817147609</ean>
</article>
<quantityOrdered>2</quantityOrdered>
<quantityDelivered>0</quantityDelivered>
<quantityCancelled>0</quantityCancelled>
<costsSingle>
<net>420.0841</net>
<gross>499.9000</gross>
<tax>79.8160</tax>
<taxRate>19.0000</taxRate>
</costsSingle>
<costsTotal>
<net>840.1682</net>
<gross>999.8000</gross>
<tax>159.6320</tax>
<taxRate>19.0000</taxRate>
</costsTotal>
<feeSingleNet>0.0000</feeSingleNet>
<feeTotalNet>0.0000</feeTotalNet>
<discountSingle>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>19.0000</taxRate>
</discountSingle>
<discountTotal>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>19.0000</taxRate>
</discountTotal>
<taxCollectionByMarketplace>true</taxCollectionByMarketplace>
</itemsOrdered>
<itemsOrdered>
<idExternal>TEST_ORDER_531_1_ITEM_2</idExternal>
<article>
<id>1053977-008</id>
<idExternal>TEST_ORDER_531_1_ARTICLE_2</idExternal>
<title>Mountain Equipment Herren Lhotse Jacke Regenjacke Hardshelljacke</title>
<ean>5053817147678</ean>
</article>
<quantityOrdered>3</quantityOrdered>
<quantityDelivered>0</quantityDelivered>
<quantityCancelled>0</quantityCancelled>
<costsSingle>
<net>420.0840</net>
<gross>499.9000</gross>
<tax>79.8160</tax>
<taxRate>19.0000</taxRate>
</costsSingle>
<costsTotal>
<net>1260.2520</net>
<gross>1499.7000</gross>
<tax>239.4480</tax>
<taxRate>19.0000</taxRate>
</costsTotal>
<feeSingleNet>0.0000</feeSingleNet>
<feeTotalNet>0.0000</feeTotalNet>
<discountSingle>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>19.0000</taxRate>
</discountSingle>
<discountTotal>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>19.0000</taxRate>
</discountTotal>
<taxCollectionByMarketplace>false</taxCollectionByMarketplace>
</itemsOrdered>
<shipping>
<typeId>testVersand</typeId>
<typeTitle>testVersand</typeTitle>
<costs>
<net>8.3866</net>
<gross>9.9800</gross>
<tax>1.5934</tax>
<taxRate>19.0000</taxRate>
</costs>
</shipping>
<payment>
<typeId>TestZahlungsart</typeId>
<typeTitle>TestZahlungsart</typeTitle>
<costs>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>0.0000</taxRate>
</costs>
<paymentTime>2019-02-01T14:24:06+01:00</paymentTime>
</payment>
<summary>
<totalSumItems>
<net>2100.4202</net>
<gross>2499.5000</gross>
<tax>399.0798</tax>
<taxRate>19.0000</taxRate>
</totalSumItems>
<totalSumItemsInclDiscount>
<net>2100.4202</net>
<gross>2499.5000</gross>
<tax>399.0798</tax>
<taxRate>19.0000</taxRate>
</totalSumItemsInclDiscount>
<totalSumOrder>
<net>2108.8068</net>
<gross>2509.4800</gross>
<tax>400.6732</tax>
<taxRate>19.0000</taxRate>
</totalSumOrder>
<totalSumOrderInclDiscount>
<net>2108.8068</net>
<gross>2509.4800</gross>
<tax>400.6732</tax>
<taxRate>19.0000</taxRate>
</totalSumOrderInclDiscount>
<feeTotalNet>0.0000</feeTotalNet>
<currencyIso3>EUR</currencyIso3>
</summary>
<discount>
<net>0.0000</net>
<gross>0.0000</gross>
<tax>0.0000</tax>
<taxRate>0.0000</taxRate>
</discount>
<expectedShippingTimeFrom>2019-02-01T14:49:17+01:00</expectedShippingTimeFrom>
<expectedShippingTimeTo>2019-02-02T14:49:22+01:00</expectedShippingTimeTo>
</orders>
</return>
</ns1:getNewMarketplaceOrdersResponse>
</soap:Body>
</soap:Envelope>
TODO: Formatierung!!!!
