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 |
email address |
locale |
string |
ISO 8859-1 Locale ID |
Request body
Media type application/json
{
"email": "john@doe.com",
"locale": "de_DE"
}
Response
HTTP 200