{"openapi":"3.0.4","info":{"title":"Norce Checkout - nShift Adapter API","description":"Build 2026-10-20 07:08:08\n\nThe nShift Adapter API is used to create and manage nShift shippings.","version":"1.0.0"},"paths":{"/api/checkout/v1/callback/orders/{order_id}/shippings/{shipping_id}/update-nshift-session":{"post":{"tags":["Norce Callbacks"],"summary":"Handle Cart changed in Norce order.","description":"Cart changed.","operationId":"CartChanged","parameters":[{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"},{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"shipping_id","in":"path","description":"Shipping identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Updated order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/NorceOrder"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PatchOperation"}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{}]}},"/api/checkout/v1/callback/orders/{order_id}/shippings/{shipping_id}/state-changed":{"post":{"tags":["Norce Callbacks"],"summary":"Handle State changed in Norce order.","description":"State changed.","operationId":"StateChanged","parameters":[{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"},{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"shipping_id","in":"path","description":"Shipping identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Updated order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/NorceOrder"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PatchOperation"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{}]}},"/api/checkout/v1/callback/orders/{order_id}/shippings/{shipping_id}/shipping-changed":{"post":{"tags":["nShift client side callbacks"],"summary":"Shipping changed - called when user selects a shipping option in the nShift widget","description":"Shipping changed.","operationId":"ShippingChanged","parameters":[{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"},{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"shipping_id","in":"path","description":"Shipping identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The selection result from the nShift widget containing the user's selection","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/NShiftSelectionResult"}],"description":"Represents the result object from the nShift Checkout widget when a user makes a selection.\nThis is sent via the resultCallback when the user interacts with the widget."}}}},"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{}]}},"/api/checkout/v1/orders/{order_id}/shippings":{"post":{"tags":["nShift Delivery Checkout Orders"],"summary":"Create a new nShift session","description":"Requires an existing order.","operationId":"CreateNShiftSession","parameters":[{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NShiftSession"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{}]}},"/api/checkout/v1/orders/{order_id}/shippings/{shipping_id}":{"get":{"tags":["nShift Delivery Checkout Orders"],"summary":"Get nShift session","description":"Used to get the session with shipping options","operationId":"GetNShiftSession","parameters":[{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"shipping_id","in":"path","description":"Shipping identifier","required":true,"schema":{"type":"string"}},{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NShiftSession"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{}]}},"/api/checkout/v1/orders/{order_id}/shippings/{shipping_id}/remove":{"post":{"tags":["nShift Delivery Checkout Orders"],"summary":"Remove a nShift session","description":"Requires an existing shipping on order.","operationId":"RemoveNShiftSession","parameters":[{"name":"order_id","in":"path","description":"Order identifier","required":true,"schema":{"type":"string"}},{"name":"shipping_id","in":"path","description":"Shipping identifier","required":true,"schema":{"type":"string"}},{"name":"x-merchant","in":"header","description":"Merchant identifier.","required":true,"schema":{"type":"string","example":"norce"},"example":"norce"},{"name":"x-channel","in":"header","description":"Channel identifier","required":true,"schema":{"type":"string","example":"1"},"example":"1"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NShiftSession"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{}]}}},"components":{"schemas":{"Addon":{"type":"object","properties":{"reference":{"type":"string","nullable":true},"price":{"type":"number","format":"double"}},"additionalProperties":false},"Address":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/CustomerType"}]},"givenName":{"type":"string","nullable":true},"familyName":{"type":"string","nullable":true},"careOf":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"organizationName":{"type":"string","nullable":true},"streetAddress":{"type":"string","nullable":true},"streetAddress2":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"nationalIdentificationNumber":{"type":"string","nullable":true},"organizationIdentificationNumber":{"type":"string","nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Callback":{"type":"object","properties":{"id":{"type":"string","nullable":true},"adapterId":{"type":"string","nullable":true},"event":{"allOf":[{"$ref":"#/components/schemas/CallbackEvent"}]},"url":{"type":"string","nullable":true}},"additionalProperties":false},"CallbackEvent":{"enum":["validate","accept","complete"],"type":"string"},"Cart":{"type":"object","properties":{"reference":{"type":"string","nullable":true},"items":{"type":"array","items":{"$ref":"#/components/schemas/Item"},"nullable":true},"discounts":{"type":"array","items":{"$ref":"#/components/schemas/Discount"},"nullable":true},"total":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Consent":{"type":"object","properties":{"id":{"type":"string","nullable":true},"checked":{"type":"boolean"},"text":{"type":"string","nullable":true},"required":{"type":"boolean"}},"additionalProperties":false},"Customer":{"type":"object","properties":{"billing":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true},"shipping":{"allOf":[{"$ref":"#/components/schemas/Address"}],"nullable":true},"type":{"allOf":[{"$ref":"#/components/schemas/CustomerType"}]},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"CustomerType":{"enum":["person","organization"],"type":"string"},"DeliveryDetails":{"type":"object","properties":{"carrier":{"type":"string","nullable":true},"class":{"type":"string","nullable":true},"product":{"allOf":[{"$ref":"#/components/schemas/Product"}],"nullable":true},"pickupLocation":{"allOf":[{"$ref":"#/components/schemas/PickupLocation"}],"nullable":true}},"additionalProperties":false},"Discount":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/DiscountType"}]},"name":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"value":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"DiscountType":{"enum":["item","shipping"],"type":"string"},"Error":{"type":"object","properties":{"code":{"type":"string","description":"Error code","nullable":true,"example":"nshift-error"},"message":{"type":"string","description":"Detailed error information","nullable":true,"example":"No warehouse configured for this region"},"nShiftError":{"allOf":[{"$ref":"#/components/schemas/NShiftError"}],"description":"Error if originating from nShift","nullable":true}},"additionalProperties":false},"Hook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"adapterId":{"type":"string","nullable":true},"subscribeTo":{"type":"string","nullable":true},"target":{"type":"string","nullable":true},"invoke":{"type":"string","nullable":true}},"additionalProperties":false},"Item":{"type":"object","properties":{"id":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"sku":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"quantity":{"type":"integer","format":"int32"},"unit":{"type":"string","nullable":true},"price":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"total":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"originalTotal":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"vatRate":{"type":"number","format":"double"},"discounts":{"type":"array","items":{"$ref":"#/components/schemas/Discount"},"nullable":true},"logistics":{"allOf":[{"$ref":"#/components/schemas/Logistics"}],"nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"Logistics":{"type":"object","properties":{"weight":{"type":"integer","format":"int32","nullable":true},"height":{"type":"integer","format":"int32","nullable":true},"width":{"type":"integer","format":"int32","nullable":true},"length":{"type":"integer","format":"int32","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"shippingDate":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"NShiftError":{"type":"object","properties":{"errorCode":{"type":"string","nullable":true},"errorMessages":{"type":"array","items":{"type":"string"},"nullable":true},"correlationId":{"type":"string","nullable":true}},"additionalProperties":false},"NShiftFieldValue":{"type":"object","properties":{"fieldId":{"type":"string","description":"ID of the field.","nullable":true},"value":{"type":"string","description":"Value of the field as a string.","nullable":true}},"additionalProperties":false,"description":"Represents a field value in the nShift widget result."},"NShiftSelectedAddon":{"type":"object","properties":{"addonId":{"type":"string","description":"ID of the addon.","nullable":true},"price":{"type":"number","description":"Price that has been added to the total price because this addon is selected.","format":"double","nullable":true},"originalPrice":{"type":"number","description":"Original price that has been added to the total original price because this addon is selected.","format":"double","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/NShiftFieldValue"},"description":"Array of field inputs under the selected addon.","nullable":true},"additionalValues":{"type":"object","additionalProperties":{},"description":"Additional key-value pairs defined by the checkout configuration.","nullable":true}},"additionalProperties":false,"description":"Represents a selected addon in the nShift widget result."},"NShiftSelectionResult":{"type":"object","properties":{"valid":{"type":"boolean","description":"Whether the result is valid and can be used to create a shipment."},"sessionId":{"type":"string","description":"UUID of the session used to request the shipping options. Required to create a shipment.","nullable":true},"checkoutId":{"type":"string","description":"UUID of the checkout configuration used to generate the shipping options.","nullable":true},"checkoutVersion":{"type":"string","description":"Version number of the checkout configuration used to generate the shipping options.","nullable":true},"optionId":{"type":"string","description":"UUID of the shipping option that is selected in the widget. Required to create a shipment.","nullable":true},"pickupPointId":{"type":"string","description":"Carrier-specific ID of the pickup point selected in the widget.\nRequired only if the shipping option uses pickup points.","nullable":true},"timeSlotId":{"type":"string","description":"Carrier-specific ID of the time slot selected in the widget.\nRequired only if the shipping option uses time slots.","nullable":true},"addons":{"type":"array","items":{"$ref":"#/components/schemas/NShiftSelectedAddon"},"description":"Array of addons selected under the selected shipping option.","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/NShiftFieldValue"},"description":"Array of field inputs under the selected shipping option.","nullable":true},"totalPrice":{"type":"number","description":"Total price of the selected shipping option and any selected addons.","format":"double","nullable":true},"totalOriginalPrice":{"type":"number","description":"Total original price of the selected shipping option and any selected addons.","format":"double","nullable":true},"taxRate":{"type":"number","description":"Tax rate set in the checkout configuration.","format":"double","nullable":true},"additionalValues":{"type":"object","additionalProperties":{},"description":"Additional key-value pairs defined by the checkout configuration.","nullable":true},"resultsVersion":{"type":"string","description":"Version of the results object. Currently always \"2\".","nullable":true},"widgetVersion":{"type":"string","description":"Version of the widget that generated the results object. Currently always \"2\".","nullable":true}},"additionalProperties":false,"description":"Represents the result object from the nShift Checkout widget when a user makes a selection.\nThis is sent via the resultCallback when the user interacts with the widget."},"NShiftSession":{"type":"object","properties":{"shippingId":{"type":"string","nullable":true},"sessionId":{"type":"string","nullable":true},"selectedOptionId":{"type":"string","nullable":true},"selection":{"allOf":[{"$ref":"#/components/schemas/NShiftSessionSelection"}],"description":"The customer's persisted widget selection, so the storefront can rehydrate the nShift\nwidget on page reload. Carries ids and customer-entered field values only, never prices;\nprices belong to the options catalogue in Norce.Checkout.NShiftAdapter.WebApi.Models.NShiftSession.Data.","nullable":true},"settings":{"allOf":[{"$ref":"#/components/schemas/WidgetSettings"}],"nullable":true},"data":{"allOf":[{"$ref":"#/components/schemas/ShippingOptionsData"}],"nullable":true}},"additionalProperties":false},"NShiftSessionFieldValue":{"type":"object","properties":{"fieldId":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false,"description":"A field id and the value the customer entered for it. Never a price."},"NShiftSessionSelectedAddon":{"type":"object","properties":{"addonId":{"type":"string","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/NShiftSessionFieldValue"},"nullable":true}},"additionalProperties":false,"description":"A single addon the customer selected, with the field values entered under it.\nCarries the addon id only, never its price."},"NShiftSessionSelection":{"type":"object","properties":{"addons":{"type":"array","items":{"$ref":"#/components/schemas/NShiftSessionSelectedAddon"},"nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/NShiftSessionFieldValue"},"nullable":true},"pickupPointId":{"type":"string","nullable":true},"timeSlotId":{"type":"string","nullable":true}},"additionalProperties":false,"description":"The customer's selected addons, option-level field values, pickup point and time slot.\nCarries ids and customer-entered values only, never prices."},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Addon":{"type":"object","properties":{"addonId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"preselected":{"type":"boolean"},"mandatory":{"type":"boolean"},"hidden":{"type":"boolean"},"priceDescription":{"type":"string","nullable":true},"price":{"type":"number","format":"double","nullable":true},"originalPrice":{"type":"number","format":"double","nullable":true},"originalPriceDescription":{"type":"string","nullable":true},"taxRate":{"type":"number","format":"double","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Field"},"nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Category":{"type":"object","properties":{"categoryId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"sortOrder":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.DeliveryTime":{"type":"object","properties":{"earliestDate":{"type":"string","nullable":true},"latestDate":{"type":"string","nullable":true},"earliestTime":{"type":"string","nullable":true},"latestTime":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Field":{"type":"object","properties":{"fieldId":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"mandatory":{"type":"boolean"},"min":{"type":"number","format":"double","nullable":true},"max":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.OpenHoursWeekday":{"type":"object","properties":{"firstWeekday":{"type":"string","nullable":true},"lastWeekday":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"openingHours":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.OpeningHour"},"nullable":true},"closed":{"type":"boolean"}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.OpeningHour":{"type":"object","properties":{"opens":{"type":"string","nullable":true},"closes":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Option":{"type":"object","properties":{"valid":{"type":"boolean"},"optionId":{"type":"string","nullable":true},"categoryId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"carrierId":{"type":"string","nullable":true},"carrierProductId":{"type":"string","nullable":true},"customProductSubId":{"type":"string","nullable":true},"carrierProductVersion":{"type":"integer","format":"int32","nullable":true},"carrierProductName":{"type":"string","nullable":true},"carrierProductSourceSystem":{"type":"string","nullable":true},"sourceSystemCarrierId":{"type":"string","nullable":true},"sourceSystemProductId":{"type":"string","nullable":true},"externalSystemCustomCarrier":{"type":"string","nullable":true},"carrierName":{"type":"string","nullable":true},"customCarrier":{"type":"boolean"},"texts":{"type":"array","items":{"type":"string"},"nullable":true},"priceDescription":{"type":"string","nullable":true},"price":{"type":"number","format":"double","nullable":true},"originalPriceDescription":{"type":"string","nullable":true},"originalPrice":{"type":"number","format":"double","nullable":true},"taxRate":{"type":"number","format":"double","nullable":true},"logoId":{"type":"string","nullable":true},"logoUrl":{"type":"string","nullable":true},"addons":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Addon"},"nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Field"},"nullable":true},"deliveryTime":{"allOf":[{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.DeliveryTime"}],"nullable":true},"pickupPoints":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.PickupPoint"},"nullable":true},"timeSlots":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.TimeSlot"},"nullable":true},"externalSystemExtra":{"type":"object","additionalProperties":{},"nullable":true},"noDefaultPickupPoint":{"type":"boolean"},"additionalValues":{"type":"object","additionalProperties":{},"nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"additionalMerchantInfo":{"type":"string","nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.PickupPoint":{"type":"object","properties":{"pickupPointId":{"type":"string","nullable":true},"distance":{"type":"number","format":"double","nullable":true},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true},"name":{"type":"string","nullable":true},"address1":{"type":"string","nullable":true},"address2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"countryCode":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"formattedAddress1":{"type":"string","nullable":true},"formattedAddress2":{"type":"string","nullable":true},"formattedAddress3":{"type":"string","nullable":true},"formattedAddress4":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"openHoursWeekday":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.OpenHoursWeekday"},"nullable":true}},"additionalProperties":false},"Norce.Checkout.NShiftAdapter.Domain.Models.NShift.TimeSlot":{"type":"object","properties":{"id":{"type":"string","nullable":true},"date":{"type":"string","nullable":true},"startTime":{"type":"string","nullable":true},"endTime":{"type":"string","nullable":true},"price":{"type":"number","format":"double","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"NorceOrder":{"type":"object","properties":{"id":{"type":"string","nullable":true},"merchant":{"type":"string","nullable":true},"channel":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"created":{"type":"string","format":"date-time"},"lastModified":{"type":"string","format":"date-time"},"state":{"allOf":[{"$ref":"#/components/schemas/State"}],"nullable":true},"culture":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"cart":{"allOf":[{"$ref":"#/components/schemas/Cart"}],"nullable":true},"shippings":{"type":"array","items":{"$ref":"#/components/schemas/Shipping"},"nullable":true},"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"},"nullable":true},"customer":{"allOf":[{"$ref":"#/components/schemas/Customer"}],"nullable":true},"consents":{"type":"array","items":{"$ref":"#/components/schemas/Consent"},"nullable":true},"validations":{"type":"array","items":{"$ref":"#/components/schemas/Callback"},"nullable":true},"hooks":{"type":"array","items":{"$ref":"#/components/schemas/Hook"},"nullable":true},"notifications":{"type":"array","items":{"$ref":"#/components/schemas/Callback"},"nullable":true},"total":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"OrderStatus":{"enum":["checkout","processing","accepted","completed","declined","removed"],"type":"string"},"PatchOperation":{"type":"object","properties":{"op":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"value":{}},"additionalProperties":false},"Payment":{"type":"object","properties":{"id":{"type":"string","nullable":true},"adapterId":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"price":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"state":{"allOf":[{"$ref":"#/components/schemas/PaymentState"}]},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"PaymentState":{"enum":["intent","removed","processing","failed","confirmed","pending","declined","reserved","credited","captured","cancelled","refunded"],"type":"string"},"PickupLocation":{"type":"object","properties":{"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/PickupLocationAddress"}],"nullable":true}},"additionalProperties":false},"PickupLocationAddress":{"type":"object","properties":{"streetAddress":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"country":{"type":"string","nullable":true}},"additionalProperties":false},"Price":{"type":"object","properties":{"includingVat":{"type":"number","format":"double"},"excludingVat":{"type":"number","format":"double"}},"additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"Product":{"type":"object","properties":{"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false},"Shipping":{"type":"object","properties":{"id":{"type":"string","nullable":true},"merchant":{"type":"string","nullable":true},"channel":{"type":"string","nullable":true},"state":{"allOf":[{"$ref":"#/components/schemas/ShippingState"}]},"reference":{"type":"string","nullable":true},"tmsReference":{"type":"string","nullable":true},"orderId":{"type":"string","nullable":true},"adapterId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"total":{"allOf":[{"$ref":"#/components/schemas/Price"}],"nullable":true},"vatRate":{"type":"number","format":"double"},"deliveryDetails":{"allOf":[{"$ref":"#/components/schemas/DeliveryDetails"}],"nullable":true},"addons":{"type":"array","items":{"$ref":"#/components/schemas/Addon"},"nullable":true},"attributes":{"type":"object","additionalProperties":{},"nullable":true}},"additionalProperties":false},"ShippingOptionsData":{"type":"object","properties":{"options":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Option"},"nullable":true},"addons":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Addon"},"nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Field"},"nullable":true},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Norce.Checkout.NShiftAdapter.Domain.Models.NShift.Category"},"nullable":true},"language":{"type":"string","description":"The language nShift resolved for the options from the order culture (e.g. \"sv\"). Pass the\ndata to the nShift widget as-is: the widget takes its own UI language from this field and\nfalls back to English without it.","nullable":true}},"additionalProperties":false},"ShippingState":{"enum":["intent","removed","processing","failed","confirmed"],"type":"string"},"State":{"type":"object","properties":{"currentStatus":{"allOf":[{"$ref":"#/components/schemas/OrderStatus"}]},"transitions":{"type":"array","items":{"$ref":"#/components/schemas/Transition"},"nullable":true}},"additionalProperties":false},"ThemeOverride":{"type":"object","properties":{"showLogos":{"type":"boolean","nullable":true},"showMap":{"type":"boolean","nullable":true},"showPickupPointInfo":{"type":"boolean","nullable":true},"showCategories":{"type":"boolean","nullable":true},"showOriginalPrices":{"type":"boolean","nullable":true},"showDeliveryTime":{"type":"boolean","nullable":true},"selectFirstAvailableOption":{"type":"boolean","nullable":true},"numberOfAlwaysVisibleTextLines":{"type":"integer","format":"int32","nullable":true},"numberOfInitiallyVisibleOptions":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"Transition":{"type":"object","properties":{"status":{"allOf":[{"$ref":"#/components/schemas/OrderStatus"}]},"timeStamp":{"type":"string","format":"date-time"}},"additionalProperties":false},"WidgetSettings":{"type":"object","properties":{"widgetVersion":{"type":"string","nullable":true},"theme":{"type":"string","nullable":true},"themeOverride":{"allOf":[{"$ref":"#/components/schemas/ThemeOverride"}],"nullable":true},"mode":{"type":"string","nullable":true},"widthBreakpoints":{"allOf":[{"$ref":"#/components/schemas/WidthBreakpoints"}],"nullable":true}},"additionalProperties":false},"WidthBreakpoints":{"type":"object","properties":{"narrow":{"type":"integer","format":"int32","nullable":true},"ultraNarrow":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"apiKey","description":"Authorization header using the bearer scheme. Example: 'Bearer a3bcdABCaB12abc3AbCDAB5AbcABCaBcABC5ab3c5A0='","name":"Authorization","in":"header"}}},"tags":[{"name":"Callback"},{"name":"Shipping"}]}