Basic information
POST /{shopId}/products/{productId}/availability-notifications
Enables the availability notification for the given product and customer email address. The language of the notification is based on the locale of the customer’s storefront.
Authorisation
OAuth 2.0 Token required with scopes:
products_write
URI parameters
| Name | Type | Description |
|---|---|---|
shopId |
string |
The unique identifier of the shop. Required:
true
Example:
DemoShop
|
productId |
string |
The unique identifier of the product. Required:
true
Example:
52F221E0-36F6-DC4E-384A-AC1504050C04
|
Request attributes
| Name | Type | Description |
|---|---|---|
email |
string |
The email address of the customer receiving the availability notification. |
locale |
string |
The language in which the availability notification email is to be sent, according to ISO 639-1 and ISO 3166-1, e.g. en_US. |
Request body
Media type application/json
{
"email": "john@doe.com",
"locale": "de_DE"
}
Response
HTTP 200