Get order for merchant and channel
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "id": "o_yClTSySjyAuuBjmiBlHCjuEcTf",
- "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": "ci_FpEzyBvBBUyKxkeNriFUxZOCje",
- "reference": "string",
- "name": "T-Shirt XL",
- "sku": "A000123",
- "productType": "physical",
- "items": [
- { }
], - "quantity": 2,
- "unit": "st",
- "price": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "originalTotal": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "vatRate": 0.25,
- "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "logistics": {
- "weight": 2500,
- "height": 100,
- "width": 50,
- "length": 200
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}, - "shippings": [
- {
- "id": "s_pmHreuEBboeezpixrHMDPQlazU",
- "merchant": "norce",
- "channel": "1",
- "state": "intent",
- "reference": "e8ed2091-c34c-4837-a3a8-bc827b0dc183",
- "tmsReference": "a935a628-f70c-47a4-a9f6-98c6d08c2ba3",
- "orderId": "o_DhZSbDfVzNzuxOzHyCFskzGzaJ",
- "adapterId": "ingrid-shipping-adapter",
- "name": "PostNord MyPack Home",
- "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "vatRate": 0.25,
- "deliveryDetails": {
- "carrier": "string",
- "class": "string",
- "product": {
- "reference": "string",
- "name": "string"
}, - "pickupLocation": {
- "reference": "string",
- "name": "string",
- "address": {
- "streetAddress": "Adaptivevägen 18",
- "city": "Boden",
- "postalCode": "955 60",
- "country": "SE"
}
}
}, - "addons": [
- {
- "reference": "string",
- "price": 0
}
], - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "payments": [
- {
- "id": "p_KBiXuYjvYxsezKCQAMuuSKGDaT",
- "adapterId": "klarna-checkout",
- "name": "string",
- "merchant": "norce",
- "channel": "string",
- "currency": "SEK",
- "type": "default",
- "orderId": "o_DhZSbDfVzNzuxOzHyCFskzGzaJ",
- "amount": 10,
- "upperLimitAmount": 100,
- "state": "Intent",
- "reference": "7d31e2cf-2d46-4db0-b87d-d65dfaae298f",
- "attributes": {
- "property1": null,
- "property2": null
}, - "actions": [
- {
- "id": "string",
- "adapterId": "string",
- "type": "string",
- "url": "string"
}
], - "recurring": {
- "token": "string",
- "description": "string",
- "attributes": {
- "property1": null,
- "property2": null
}
}
}
], - "customer": {
- "billing": {
- "type": "Person",
- "givenName": "Rosalinainho",
- "familyName": "Undulatsson",
- "careOf": "Olleinho Jyckesson",
- "reference": "string",
- "organizationName": "Storm",
- "streetAddress": "Adaptivevägen 18",
- "streetAddress2": "Lgh 1203",
- "postalCode": "955 60",
- "city": "Boden",
- "region": "Norrbotten",
- "country": "SE",
- "phone": "0753892233",
- "email": "rosalinainho.undulatsson@example.com",
- "nationalIdentificationNumber": "890201-3286",
- "organizationIdentificationNumber": "212000-1355",
- "attributes": {
- "property1": null,
- "property2": null
}
}, - "shipping": {
- "type": "Person",
- "givenName": "Rosalinainho",
- "familyName": "Undulatsson",
- "careOf": "Olleinho Jyckesson",
- "reference": "string",
- "organizationName": "Storm",
- "streetAddress": "Adaptivevägen 18",
- "streetAddress2": "Lgh 1203",
- "postalCode": "955 60",
- "city": "Boden",
- "region": "Norrbotten",
- "country": "SE",
- "phone": "0753892233",
- "email": "rosalinainho.undulatsson@example.com",
- "nationalIdentificationNumber": "890201-3286",
- "organizationIdentificationNumber": "212000-1355",
- "attributes": {
- "property1": null,
- "property2": null
}
}, - "type": "Person",
- "attributes": {
- "property1": null,
- "property2": null
}
}, - "consents": [
- {
- "id": "ci_newsleter",
- "checked": true,
- "text": "string",
- "required": true
}
], - "validations": [
- {
- "id": "oc_BaDIudFOjBEuFmLlmDExePUFTh",
- "adapterId": "jetshop_adapter",
}
], - "hooks": [
- {
- "id": "oc_BaDIudFOjBEuFmLlmDExePUFTh",
- "adapterId": "jetshop_adapter",
- "subscribeTo": "string",
- "target": "string",
- "version": "v0"
}
], - "notifications": [
- {
- "id": "ocGooDddTOjKOuFmNnkEozEpfuTh",
- "adapterId": "jetshop_adapter",
- "reference": "PuXCudQEiWTOHvquGGolFUVOuy",
- "description": "Export payment information to Jetshop when order has been completed.",
- "scope": "/state/currentStatus",
- "schema": {
- "const": "completed"
}, - "invoke": "{configuration.adapter.internalUrl}/api/v1/callbacks/orders/{order.id}/specific-callback",
- "version": "v0"
}
], - "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}