# Rest API Post Order id für billing/shipping

**URL:** <https://forum.shopware.com/t/rest-api-post-order-id-fuer-billing-shipping/98654>\
**Category:** Shopware 5\
**Created:** [21. Februar 2023 um 19:36 UTC](https://forum.shopware.com/t/rest-api-post-order-id-fuer-billing-shipping/98654 "2023-02-21T19:36:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vhafner](https://avatars.discourse-cdn.com/v4/letter/v/5f8ce5/32.png) [@vhafner](https://forum.shopware.com/u/vhafner)\
**Post date:** [21. Februar 2023 um 19:36 UTC](https://forum.shopware.com/t/rest-api-post-order-id-fuer-billing-shipping/98654/1 "2023-02-21T19:36:29Z")

</div>

Ich versuche gerade per POST über die REST API einen order zu setzen.  
CustomerID habe ich, aber laut doku muss ich im objekt shipping und billing auch eine id mitschicken, doch wie ermittle ich diese?  
geht das auch ohne id? bzw welche felder sind verpflichtend?

siehe doku:  
„billing“: {  
„id“: 2,  
„customerId“: 1,  
„countryId“: 2,  
„stateId“: 3,  
„company“: „shopware AG“,  
„salutation“: „mr“,  
„firstName“: „Max“,  
„lastName“: „Mustermann“,  
„street“: „Mustermannstra\u00dfe 92“,  
„zipCode“: „48624“,  
„city“: „Sch\u00f6ppingen“  
},
