In case updates are made in Norce Commerce this endpoint makes sure the latest checkout is mapped to the Norce Checkout order.
OK
Bad Request
Not Found
{- "id": "string",
- "merchant": "string",
- "channel": "string",
- "reference": "string",
- "created": "2019-08-24T14:15:22Z",
- "lastModified": "2019-08-24T14:15:22Z",
- "state": {
- "currentStatus": "checkout",
- "transitions": [
- {
- "status": "checkout",
- "timeStamp": "2019-08-24T14:15:22Z"
}
]
}, - "culture": "string",
- "currency": "string",
- "country": "string",
- "cart": {
- "reference": "string",
- "items": [
- {
- "id": "string",
- "reference": "string",
- "name": "string",
- "sku": "string",
- "productType": "physical",
- "items": [
- { }
], - "url": "string",
- "imageUrl": "string",
- "quantity": 0,
- "unit": "string",
- "price": {
- "includingVat": 0,
- "excludingVat": 0
}, - "total": {
- "includingVat": 0,
- "excludingVat": 0
}, - "originalTotal": {
- "includingVat": 0,
- "excludingVat": 0
}, - "vatRate": 0,
- "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 0,
- "excludingVat": 0
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "logistics": {
- "weight": 0,
- "height": 0,
- "width": 0,
- "length": 0
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 0,
- "excludingVat": 0
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "total": {
- "includingVat": 0,
- "excludingVat": 0
}, - "attributes": {
- "property1": null,
- "property2": null
}
}, - "shippings": [
- {
- "id": "string",
- "merchant": "string",
- "channel": "string",
- "state": "intent",
- "reference": "string",
- "tmsReference": "string",
- "orderId": "string",
- "adapterId": "string",
- "name": "string",
- "total": {
- "includingVat": 0,
- "excludingVat": 0
}, - "vatRate": 0,
- "deliveryDetails": {
- "carrier": "string",
- "class": "string",
- "product": {
- "reference": "string",
- "name": "string"
}, - "pickupLocation": {
- "reference": "string",
- "name": "string",
- "address": {
- "streetAddress": "string",
- "city": "string",
- "postalCode": "string",
- "country": "string"
}
}
}, - "addons": [
- {
- "reference": "string",
- "price": 0
}
], - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "payments": [
- {
- "id": "string",
- "adapterId": "string",
- "name": "string",
- "merchant": "string",
- "channel": "string",
- "currency": "string",
- "type": "default",
- "orderId": "string",
- "amount": 0,
- "upperLimitAmount": 0,
- "state": "intent",
- "reference": "string",
- "attributes": {
- "property1": null,
- "property2": null
}
}
], - "customer": {
- "billing": {
- "type": "person",
- "givenName": "string",
- "familyName": "string",
- "careOf": "string",
- "reference": "string",
- "organizationName": "string",
- "streetAddress": "string",
- "streetAddress2": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "nationalIdentificationNumber": "string",
- "organizationIdentificationNumber": "string",
- "attributes": {
- "property1": null,
- "property2": null
}
}, - "shipping": {
- "type": "person",
- "givenName": "string",
- "familyName": "string",
- "careOf": "string",
- "reference": "string",
- "organizationName": "string",
- "streetAddress": "string",
- "streetAddress2": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "phone": "string",
- "email": "string",
- "nationalIdentificationNumber": "string",
- "organizationIdentificationNumber": "string",
- "attributes": {
- "property1": null,
- "property2": null
}
}, - "attributes": {
- "property1": null,
- "property2": null
}, - "type": "person"
}, - "consents": [
- {
- "id": "string",
- "checked": true,
- "text": "string",
- "required": true
}
], - "validations": [
- {
- "id": "string",
- "adapterId": "string",
- "url": "string"
}
], - "hooks": [
- {
- "id": "string",
- "adapterId": "string",
- "subscribeTo": "string",
- "target": "string",
- "invoke": "string"
}
], - "notifications": [
- {
- "id": "string",
- "adapterId": "string",
- "reference": "string",
- "description": "string",
- "scope": "string",
- "schema": {
- "property1": null,
- "property2": null
}, - "invoke": "string"
}
], - "total": {
- "includingVat": 0,
- "excludingVat": 0
}, - "attributes": {
- "property1": null,
- "property2": null
}
}