checkout-storm-adapter-env.ci.jetshopcloud.io
Open in
urlscan Pro
20.76.203.228
Public Scan
Submitted URL: https://checkout-storm-adapter-env.ci.jetshopcloud.io/
Effective URL: https://checkout-storm-adapter-env.ci.jetshopcloud.io/docs/v1/index.html
Submission: On March 24 via api from US — Scanned from US
Effective URL: https://checkout-storm-adapter-env.ci.jetshopcloud.io/docs/v1/index.html
Submission: On March 24 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
* Orders * postCreate an order from a Storm Checkout. * getCreate an order from a Storm Checkout and redirect to Norce Checkout * putUpdate Order from Storm Checkout * postValidate Order * postHandle State Changed * postHandle Customer changed API docs by Redocly NORCE CHECKOUT - STORM ADAPTER API (1.0.0) Download OpenAPI specification:Download Build 2024-03-23 11:01:55 The Storm Adapter API is used to create and manage an Order based on a Storm Checkout Basket. ORDERS CREATE AN ORDER FROM A STORM CHECKOUT. Fetches a Storm Checkout and maps it to a Norce Checkout Order. Note that cart references are unique and no more than one order can exist with provided cart reference. AUTHORIZATIONS: Bearer HEADER PARAMETERS x-merchant required string Example: norce Merchant identifier. x-channel required string Example: 1 Channel identifier REQUEST BODY SCHEMA: APPLICATION/JSON Context about the order cartReference required integer <int32> Storm Basket Id culture required string non-empty ^[a-z]{2,2}(?:-[A-Z]{2,2})*$ Language of the customer. ISO 639-1 and ISO 3166 separated by dash. currency string^[A-Z]{3,3}$ Currency of the purchase. ISO 4217 country string^[A-Z]{2,2}$ Country. ISO 3166 RESPONSES 200 Success RESPONSE SCHEMA: APPLICATION/JSON id string Order identifier 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information 404 Not Found 409 Conflict RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information post/api/v1/orders Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders REQUEST SAMPLES * Payload Content type application/json Copy { * "cartReference": 0, * "culture": "fr-FR", * "currency": "EUR", * "country": "SE" } RESPONSE SAMPLES * 200 * 400 * 409 Content type application/json Copy { * "id": "o" } CREATE AN ORDER FROM A STORM CHECKOUT AND REDIRECT TO NORCE CHECKOUT Requires an existing Basket. AUTHORIZATIONS: Bearer QUERY PARAMETERS channel required string cartReference required integer <int32> culture required string currency string country string HEADER PARAMETERS x-merchant required string RESPONSES 200 Success 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information 404 Not Found 409 Conflict RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information get/api/v1/orders/redirect Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders/redirect RESPONSE SAMPLES * 400 * 409 Content type application/json Copy { * "code": "cart-not-found", * "message": "Cart with id:{id} now found." } UPDATE ORDER FROM STORM CHECKOUT AUTHORIZATIONS: Bearer PATH PARAMETERS orderId required string Order id to update HEADER PARAMETERS x-merchant required string Example: norce Merchant identifier. x-channel required string Example: 1 Channel identifier RESPONSES 200 Success RESPONSE SCHEMA: APPLICATION/JSON id string merchant string channel string reference string created string <date-time> lastModified string <date-time> state object culture string currency string country string cart object shippings Array of objects (Shipping) payments Array of objects (Payment) customer object consents Array of objects (Consent) validations Array of objects (Callback) hooks Array of objects (Hook) total object attributes object 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information 404 Not Found RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information put/api/v1/orders/{orderId} Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders/{orderId} RESPONSE SAMPLES * 200 * 400 * 404 Content type application/json Copy Expand all Collapse all { * "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", * "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 } } ], * "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" } ], * "total": { * "includingVat": 0, * "excludingVat": 0 }, * "attributes": { * "property1": null, * "property2": null } } VALIDATE ORDER Validates Order from cart in Storm platform and make sure all products are buyable. AUTHORIZATIONS: Bearer PATH PARAMETERS orderId required string Order id to validate HEADER PARAMETERS x-merchant required string Example: norce Merchant identifier. x-channel required string Example: 1 Channel identifier RESPONSES 200 Success 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON Array code string adapterId string 404 Not Found RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information post/api/v1/orders/{orderId}/validate Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders/{orderId}/validate RESPONSE SAMPLES * 400 * 404 Content type application/json Copy Expand all Collapse all [ * { * "code": "string", * "adapterId": "string" } ] HANDLE STATE CHANGED AUTHORIZATIONS: Bearer PATH PARAMETERS orderId required string Order id in Norce Checkout HEADER PARAMETERS x-merchant required string Example: norce Merchant identifier. x-channel required string Example: 1 Channel identifier REQUEST BODY SCHEMA: APPLICATION/JSON id string merchant string channel string reference string created string <date-time> lastModified string <date-time> state object culture string currency string country string cart object shippings Array of objects (Shipping) payments Array of objects (Payment) customer object consents Array of objects (Consent) validations Array of objects (Callback) hooks Array of objects (Hook) total object attributes object RESPONSES 200 Success RESPONSE SCHEMA: APPLICATION/JSON Array op string path string value any 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information 404 Not Found RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information post/api/v1/orders/{orderId}/state-changed Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders/{orderId}/state-changed REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "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", * "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 } } ], * "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" } ], * "total": { * "includingVat": 0, * "excludingVat": 0 }, * "attributes": { * "property1": null, * "property2": null } } RESPONSE SAMPLES * 200 * 400 * 404 Content type application/json Copy Expand all Collapse all [ * { * "op": "string", * "path": "string", * "value": null } ] HANDLE CUSTOMER CHANGED AUTHORIZATIONS: Bearer PATH PARAMETERS orderId required string Order id in Norce Checkout HEADER PARAMETERS x-merchant required string Example: norce Merchant identifier. x-channel required string Example: 1 Channel identifier REQUEST BODY SCHEMA: APPLICATION/JSON id string merchant string channel string reference string created string <date-time> lastModified string <date-time> state object culture string currency string country string cart object shippings Array of objects (Shipping) payments Array of objects (Payment) customer object consents Array of objects (Consent) validations Array of objects (Callback) hooks Array of objects (Hook) total object attributes object RESPONSES 200 Success RESPONSE SCHEMA: APPLICATION/JSON Array op string path string value any 400 Bad Request RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information 404 Not Found RESPONSE SCHEMA: APPLICATION/JSON code string Enum: "internal-server-error" "unauthorized" "configuration-error" "configuration-not-found" "order-not-found" "order-error" "order-bad-request" "order-conflict" "order-validation" "shipping-not-found" "shipping-error" "payment-not-found" "payment-error" "payment-conflict" "storm-error" "storm-bad-request" "storm-validation" "storm-order-not-found" "storm-unauthorized" "translation-not-found" Error code message string Detailed error information post/api/v1/orders/{orderId}/customer-changed Test server https://checkout-storm-adapter.test.norce.tech/api/v1/orders/{orderId}/customer-changed REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "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", * "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 } } ], * "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" } ], * "total": { * "includingVat": 0, * "excludingVat": 0 }, * "attributes": { * "property1": null, * "property2": null } } RESPONSE SAMPLES * 200 * 400 * 404 Content type application/json Copy Expand all Collapse all [ * { * "op": "string", * "path": "string", * "value": null } ]