Skip to Content

Buyer communications API overview

Send order-related messages to buyers and request product reviews and seller feedback with the Messaging and Solicitations APIs.

The Messaging and Solicitations APIs let you contact buyers about a specific order. Use Messaging to confirm order, delivery, service or customization details, share an invoice, a warranty, a legal disclosure or a digital access key, or tell the buyer about an unexpected problem. Use Solicitations to ask the buyer for a product review and seller feedback.

Every message is tied to one order, and the types of message you can send depend on that order. All paths are relative to https://marketplace.walmart.com/seller/v1. Use https://sandbox.marketplace.walmart.com/seller/v1 to test.

Business use cases

  • Confirm details with the buyer before you fulfill a customized or service order.
  • Send documents such as an invoice, a warranty or a legal disclosure.
  • Deliver digital access keys for digital items.
  • Tell the buyer about a problem that affects their order.
  • Ask for a review of the product and feedback on your service after the order.

How it works

  1. Pick the order you want to contact the buyer about.
  2. Check which message types are available for the order with Get the available message types for an order.
  3. Optionally, check the message attributes available for the order with Get the message attributes available for an order.
  4. Send a message of one of the available types. See Send buyer messages.
  5. To request a review, check the solicitation types available with Get the available solicitation types for an order, then send the solicitation. See Request reviews and feedback.

When you can message buyers

You can only send a message type that is available for the order. Availability is decided per order, so don't assume that a type you sent for one order applies to another. Before every message or solicitation, call the matching "available types" operation for that order and send only the types it returns.

Key concepts

Order identifier

Every operation takes the order identifier in the {sp-apiOrderId} path parameter. This is the marketplace order identifier of the order you are messaging about.

Marketplace

Every operation requires the marketplaceIds query parameter, the marketplace in which the order was placed. Send only one marketplace.

Message types

Message typeOperation
Confirm customization detailsconfirmCustomizationDetails
Confirm delivery detailscreateConfirmDeliveryDetails
Confirm order detailscreateConfirmOrderDetails
Confirm service detailscreateConfirmServiceDetails
Digital access keycreateDigitalAccessKey
InvoicesendInvoice
Legal disclosurecreateLegalDisclosure
Unexpected problemcreateUnexpectedProblem
WarrantyCreateWarranty

Solicitation types

The Solicitations API offers one solicitation type: a combined product review and seller feedback request.

API operations

OperationMethod & pathUse it to
Get available message typesGET /messaging/v4/orders/{sp-apiOrderId}See which messages you can send for an order
Get message attributesGET /messaging/v4/orders/{sp-apiOrderId}/attributesSee the message attributes available for an order
Send a messagePOST /messaging/v4/orders/{sp-apiOrderId}/messages/...Send one of the nine message types above
Get available solicitation typesGET /solicitations/v4/orders/{sp-apiOrderId}See which solicitations you can send for an order
Request a product review and seller feedbackPOST /solicitations/v4/orders/{sp-apiOrderId}/solicitations/productReviewAndSellerFeedbackAsk the buyer for a review and feedback

Best practices

  • Get an access token for the seller before you call these APIs. Both APIs define read and write scopes. See Authentication.
  • Check the available types for the order before every message or solicitation.
  • Send only messages related to the order.
  • Handle 401 by getting a new access token, and back off and retry on 429.

Next steps

On this page