Amazon Marketplace Web Service (MWS) will no longer be available after March 31, 2024. All MWS developers must migrate to Selling Partner API (SP-API) to avoid service disruptions. Refer to the Migration Hub for more information.
The following datatypes are used in the request parameters and response elements of the Amazon Marketplace Web Service (Amazon MWS) Subscriptions API section:
Datatype | Description |
---|---|
AttributeKeyValue | A structure that contains attributes related to a Destination. |
Destination | A delivery channel that you create to receive notifications. |
Subscription | Represents the type of notification that you want to receive and the location where you want to receive it. |
A structure that contains attributes related to a Destination.
The following table shows the elements of the AttributeKeyValue datatype. Each AttributeKeyValue datatype will differ depending on the DeliveryChannel specified in the Destination:
Name | Description | Required | Valid values |
---|---|---|---|
Key | The name of the attribute. Type: xs:string |
Yes | Key values:
|
Value | The value of the attribute. Type: xs:string |
Yes | Value values:
|
A delivery channel that you create to receive notifications.
The following table shows the elements of the Destination datatype:
Name | Description | Required | Valid values |
---|---|---|---|
DeliveryChannel | The technology that you are using to receive
notifications. Type: xs:string |
Yes | DeliveryChannel values:
|
AttributeList | Contains attributes related to the specified
DeliveryChannel. Type: List of AttributeKeyValue |
Yes | For AttributeList values, see AttributeKeyValue. Each AttributeKeyValue datatype will differ depending on the DeliveryChannel specified here. |
Represents the type of notification that you want to receive and the location where you want to receive it.
The following table shows the elements of the Subscription datatype:
Name | Description | Required | Valid values |
---|---|---|---|
NotificationType | The type of notification that you want to subscribe
to. Type: xs:string |
Yes | For NotificationType values, see NotificationType enumeration |
Destination | The delivery channel that you previously created and
registered where you will receive notifications. Type: Destination |
Yes | Any valid Destination that you previously registered by calling the RegisterDestination operation. |
IsEnabled | Indicates whether to enable subscriptions of the given
notification type at the given destination. Type: xs:boolean |
Yes | true if you want to enable the subscription at the destination; otherwise, false. |