Queries for retrieving Messages in the platform.
Queries
Query Messages
QUERYmessages
| Arguments | |
|---|---|
whereString | |
sortArray of String | |
limitInt | |
offsetInt | |
Output:MessageQueryResult
Get Message
QUERYmessage
| Arguments | |
|---|---|
idString | Queries with specified ID |
keyString | Queries with specified key |
Output:Message
Output types
Message
This type is equivalent to Message in REST, with the following differences:
- The fields that are specific to a Message Type, such as
firstNameon a Customer Message, aren't on the Message itself. They are on thepayloadfield. In REST, they are on the Message. resourceRefreplaces the RESTresourcefield and returns a Reference.userProvidedIdentifiersreplaces the RESTresourceUserProvidedIdentifiersfield.
MessageQueryResult
UserProvidedIdentifiers
User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in
resourceVersion.keyString | User-provided unique identifier of the resource. |
orderNumberString | User-provided unique identifier of an Order. |
customerNumberString | User-provided unique identifier of a Customer. |
externalIdString | User-provided unique identifier of the resource. |
skuString | Unique SKU of a Product Variant. |
slugString | Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection. |
slugAllLocalesArray of LocalizedString | Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the current Product Projection. |
MessagePayload
typeString |
Message payload types
Each Message has a
payload of a type that implements MessagePayload. The payload types are grouped by resource on the following pages: