Core
Core plugin endpoints
The required id can be found within the "employee" response:
query["response"]["elements"]["employee"]["id"]
No content
PATCH /b2b/employee/{id}?id=text HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"firstName": "Test",
"lastName": "Test",
"email": "m.mueller+test@ektek.com",
"department": "Foobar"
}{
"$ref": "#/components/schemas/SuccessResponse"
}Customer Activity Type ID
No content
POST /sales-representative/customer-activity-type/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
No content
Employee ID
No content
POST /sales-representative/customer-activity-order/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
No content
No content
POST /sales-representative/customer-activity HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
No content
PUT /sales-representative/customer-activity HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
No content
GET /sales-representative/customer-activity/list HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
Customer Activity ID
No content
GET /sales-representative/customer-activity/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
No content
Customer Activity ID
No content
DELETE /sales-representative/customer-activity/{id} HTTP/1.1
Accept: */*
{
"$ref": "#/components/schemas/SuccessResponse"
}E-Mail address to identify the customer
URL of the storefront to use for the generated reset link. It has to be a domain that is configured in the sales channel domain settings.
If email corresponds to an existing customer, a mail will be sent out to that customer containing a link assembled using the following schema:
Returns a success indicating a successful initialisation of the reset flow.
POST /b2b/employee/recovery-password HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"email": "text",
"storefrontUrl": "text"
}If email corresponds to an existing customer, a mail will be sent out to that customer containing a link assembled using the following schema:
Returns a success indicating a successful initialisation of the reset flow.
No content
Id of the address to be set
type of address to switch
Success
No content
GET /b2b/address/switch-{type}/{addressId}?addressId=text&type=billing HTTP/1.1
Accept: */*
Success
No content
Customer
^[0-9a-f]{32}$No content
POST /sales-representative/customer-sales-ranking HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"customerId": "text"
}No content
customer id
An array of orders from the requested customer
GET /sales-representative/customer-orders/{customerId}?customerId=text HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
An array of orders from the requested customer
No content
Last updated
Was this helpful?