Handle Customer changed

Callback added to the Norce Checkout Order as a hook. Syncs down to Norce Commerce and applies basket changes due to changes to the customer information.

SecurityBearer
Request
path Parameters
orderId
required
string

Order id in Norce Checkout

header Parameters
x-merchant
required
string

Merchant identifier.

Example: norce
x-channel
required
string

Channel identifier

Example: 1
Request Body schema: application/json
id
string
merchant
string
channel
string
reference
string
created
string <date-time>
lastModified
string <date-time>
object
culture
string
currency
string
country
string
object
Array of objects (Shipping)
Array of objects (Payment)
object
Array of objects (Consent)
Array of objects (Callback)
Array of objects (Hook)
Array of objects (Notification)
object
object
Responses
200

OK

400

Bad Request

404

Not Found

post/api/v1/orders/{orderId}/customer-changed
Request samples
application/json
{
  • "id": "string",
  • "merchant": "string",
  • "channel": "string",
  • "reference": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "lastModified": "2019-08-24T14:15:22Z",
  • "state": {
    },
  • "culture": "string",
  • "currency": "string",
  • "country": "string",
  • "cart": {
    },
  • "shippings": [
    ],
  • "payments": [
    ],
  • "customer": {
    },
  • "consents": [
    ],
  • "validations": [
    ],
  • "hooks": [
    ],
  • "notifications": [
    ],
  • "total": {
    },
  • "attributes": {
    }
}
Response samples
application/json
[
  • {
    }
]
Copyright © Norce 2024. All right reserved.