Create Checkout return empty object

VukBVukB Member Posts: 6
edited April 19 in Development

I make a POST call to the "/checkouts.json" endpoint containing the model with fields as it is in yours documentation. The endpoint return a "201 Created" and the data of the created Order/Checkout is empty. All field are null.

Example of response object:

{

"id": 307122497,

"created_at": "2021-04-14T14:14:42+02:00",

"updated_at": "2021-04-14T14:14:42+02:00",

"order_id": null,

"theme": null,

"step": "details",

"mode": null,

"info": {

"remote_ip": "xx.xx.xxx.xxx",

"user_agent": "WebshopappApi",

"referral_id": null

},

"customer": {

"gender": null,

"birthdate": null,

"phone": null,

"mobile": null,

"national_id": null,

"email": null,

"password": null,

"firstname": null,

"middlename": null,

"lastname": null,

"type": null,

"company": null,

"vatnumber": null,

"cocnumber": null,

"sameaddress": true

},

"billing_address": {

"name": null,

"company": null,

"address1": null,

"address2": null,

"number": null,

"extension": null,

"zipcode": null,

"city": null,

"region": null,

"region_id": null,

"country": "nl"

},

"shipping_address": {

"name": null,

"company": null,

"address1": null,

"address2": null,

"number": null,

"extension": null,

"zipcode": null,

"city": null,

"region": null,

"region_id": null,

"country": "nl"

},

"quote": {

"id": 794440488,

"price_incl": "0",

"price_excl": "0",

"additional_cost": false,

"totals": {

"sub_total": "0",

"taxes": false,

"grand_total": "0",

"combined_taxes": false

},

"tax_override": false,

"vat_shifted": false,

"local_taxes_may_apply": false,

"weight": 0,

"volume": 0,

"colli": 0,

"products": [],

"created_at": "2021-04-14T14:14:42+02:00",

"updated_at": "2021-04-14T14:14:42+02:00"

},

"shipment_method": null,

"payment_method": null,

"discount": false,

"comment": null,

"newsletter": null,

"terms": null,

"notifications": null,

"memo": null,

"products": [],

"discount_code": null

}

Post edited by Geanny on
Tags:

2 comments

Sign In or Register to comment.