Amazon Services
Amazon Marketplace Web Service (Amazon MWS) Documentation

Deprecation Notice:

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.

Amazon MWS Documentation

Subscriptions Datatypes

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.

AttributeKeyValue

A structure that contains attributes related to a Destination.

Datatype content

The following table shows the elements of the AttributeKeyValue datatype. Each AttributeKeyValue datatype will differ depending on the DeliveryChannel specified in the Destination:

AttributeKeyValue values for the SQS DeliveryChannel:
Name Description Required Valid values
Key The name of the attribute.

Type: xs:string

Yes Key values:
  • sqsQueueUrl
Value The value of the attribute.

Type: xs:string

Yes Value values:
  • The URL for the Amazon SQS queue you are using to receive notifications. For more information, see Receiving notifications.

Destination

A delivery channel that you create to receive notifications.

Datatype content

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:
  • SQS
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.

Subscription

Represents the type of notification that you want to receive and the location where you want to receive it.

Datatype content

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.