# Get Orders from External Ressource

**URL:** https://forum.shopware.com/t/get-orders-from-external-ressource/68620
**Category:** International (English Only)
**Tags:** programming
**Created:** [27. Juli 2020 um 16:41 UTC](https://forum.shopware.com/t/get-orders-from-external-ressource/68620 "2020-07-27T16:41:00Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![anatol06](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anatol06](https://forum.shopware.com/u/anatol06)
#### Post date: [28. Juli 2020 um 15:39 UTC](https://forum.shopware.com/t/get-orders-from-external-ressource/68620/7 "2020-07-28T15:39:17Z")

</div>

As I understood, in order to register an order from external ressource in Shopware is necessary first to register a new customer and then attach the order to this customer. The field&nbsp; **“customerId”&nbsp;** in the POST order query is mandatory.&nbsp;

In Orders response from OTTO there is no cutomer data but could be used the date from **‘invoiceAddress’.&nbsp;** The problme is that there is missing the email address which is mandatory for customer registration in Shopware.&nbsp;

I am thinking now of creating a single customer for OTTO in Shopware, so that for all OTTO orders will be used just one " **cusomerId".&nbsp;** But there will be different data ffor billing and delivery for each order.  
Is this a good solution?

---

_[View the full topic](https://forum.shopware.com/t/get-orders-from-external-ressource/68620)._
