Jump to Content
apiBuy with Prime | Developer Documentation
DocumentationAnnouncements
Buy with Prime | Developer DocumentationLog Inapi
Documentation
Log In
DocumentationAnnouncements

GET STARTED

  • About the Buy with Prime API
  • Call the Buy with Prime API
  • Authenticate to the Buy with Prime API
  • Terminology
  • Changelog for the Buy with Prime API v2024-04-01

DEVELOPER GUIDES

  • Integrate with Buy with Prime
  • Manage Shopper Identity
    • Use Amazon Pay for Shopper Identity
    • Use Login with Amazon for Shopper Identity
      • LWA Authentication Flow
      • Set up an LWA Security Profile
      • Integrate with LWA by Using an LWA SDK
      • Integrate Directly with LWA
      • LWA Integration Tasks
  • Create and Manage Catalogs
    • Create and Manage Products in a Catalog
    • Create and Manage Product Variations
    • Create and Manage Purchase Groups
    • Upload a Catalog
    • Get the Result of a Catalog Upload
    • Query a Catalog
    • Best Practices for Catalogs
    • Troubleshoot Catalog Errors
  • Create Delivery Previews
    • Create a Delivery Preview for a Product Detail Page
    • Create a Delivery Preview for Checkout
    • Troubleshoot Delivery Preview Errors
  • Create and Manage Orders
    • Create a Buy with Prime Order
    • Update a Buy with Prime Order
    • Query a Buy with Prime Order
    • Best Practices for Orders
    • Troubleshoot Order Errors
  • Synchronize Refunds
    • Steps to Process Refunds
    • Add an External Refund
    • Get Refund Details
    • Update Refund Details
    • Troubleshoot Refund Errors
  • Process Returns
    • Steps to Process Returns
    • Get Reversal Offers
    • Get Return Details
    • Troubleshoot Return Errors
  • Retrieve and Delete Shopper Data
    • Retrieve a Shopper's Personal Data
    • Delete a Shopper's Personal Data
    • Cancel a Data Deletion Request
    • Query Privacy Requests
  • Analyze Your Buy with Prime Metrics
    • Send User Events for Buy with Prime
    • User Event Schema
  • Subscribe to Events
    • Steps to Subscribe to Buy with Prime Events
    • Create and Delete Event Subscriptions
    • Query Event Subscriptions
    • Event Types
      • BUYABILITY_CHANGED
      • DELIVERY_CANCELLED
      • DELIVERY_COMPLETED
      • DELIVERY_IN_TRANSIT
      • INVENTORY_CHANGED
      • PERSONAL_DATA_DELETION_TASK_COMPLETED
      • PERSONAL_DATA_DELETION_TASK_FAILED
      • PERSONAL_DATA_RETRIEVAL_TASK_COMPLETED
      • PERSONAL_DATA_RETRIEVAL_TASK_FAILED
      • REFUND_REQUESTED
      • RETURN_COMPLETED
      • RETURN_DELIVERY_COMPLETED
      • RETURN_DELIVERY_FAILED
      • RETURN_DELIVERY_IN_TRANSIT
      • RETURN_ITEM_GRADED
      • RETURN_STARTED
    • Troubleshoot Events

SALESFORCE INTEGRATION

  • Understand Buy with Prime on Salesforce Commerce Cloud
  • Buy with Prime Cartridge for Salesforce Commerce Cloud

API REFERENCE

  • Catalog
    • Mutations
      • createCatalogFeed
      • createProduct
      • createPurchaseGroup
      • createUploadLink
      • deleteProduct
      • updateProduct
    • Queries
      • catalogFeed
      • downloadLink
      • inventoryItem
      • product
      • products
    • Objects
      • AmazonSkuProductIdentifier
      • AmazonSkuProductIdentifierInput
      • Amount
      • AmountInput
      • AsinProductIdentifier
      • Boolean
      • BooleanFilter
      • Buyability
      • CatalogFeed
      • CatalogFeedConfigurationInput
      • CatalogFeedDataProviderInput
      • CatalogFeedResult
      • CatalogFeedResultReport
      • CreateCatalogFeedInput
      • CreateCatalogFeedResponse
      • CreateProductInput
      • CreateProductResponse
      • CreatePurchaseGroupInput
      • CreatePurchaseGroupResponse
      • CreateUploadLinkInput
      • CreateUploadLinkResponse
      • Decimal
      • DeleteProductResponse
      • DownloadLink
      • ExternalProductIdentifier
      • FeaturedImage
      • FeaturedImageInput
      • GroupableProduct
      • ID
      • ImpactSummary
      • Int
      • InventoryItem
      • LocalizedDescriptionFieldInput
      • LocalizedDescriptionStringInput
      • LocalizedString
      • LocalizedStringField
      • LocalizedStringFieldInput
      • LocalizedStringInput
      • Long
      • Money
      • MoneyInput
      • Node
      • PageInfo
      • Price
      • PriceInput
      • Product
      • ProductConnection
      • ProductEdge
      • ProductId
      • ProductIdentifierInput
      • ProductMetadata
      • ProductsInputFilter
      • PurchaseGroup
      • PurchaseGroupMember
      • PurchaseGroupMemberConnection
      • PurchaseGroupMemberEdge
      • PurchaseGroupMemberInput
      • PurchaseGroupMembershipInput
      • PurchaseGroupViewMember
      • PurchasedProductView
      • Quantity
      • ReactionSummary
      • RepresentativeProductInput
      • Signal
      • SignalMessage
      • SkuProductIdentifier
      • String
      • StringFilter
      • UpdateProductInput
      • UpdateProductResponse
      • UploadFileType
      • UploadLink
      • UploadedFile
      • UploadedFileInput
      • VariationGroup
      • VariationGroupMember
      • VariationGroupMemberConnection
      • VariationGroupMemberEdge
      • VariationGroupMembershipInput
      • VariationSelection
      • VariationSelectionInput
  • Delivery Preview
    • Queries
      • deliveryPreview
      • shopperBwPEligibility
    • Objects
      • APayCheckoutSessionId
      • AmazonSkuProductIdentifierInput
      • Amount
      • AmountInput
      • Decimal
      • DeliveryDateRange
      • DeliveryGroup
      • DeliveryLocationInput
      • DeliveryMessage
      • DeliveryOffer
      • DeliveryPolicy
      • DeliveryPreview
      • DeliveryPreviewInput
      • DeliveryPreviewTermsInput
      • DeliveryPrice
      • DeliveryProduct
      • DeliveryProductInput
      • DeliveryRollupPrice
      • ID
      • IdPTokenType
      • IdentityProvider
      • IdentityTokenInput
      • LWAAccessToken
      • Money
      • ProductDeliveryMessage
      • ProductIdentifier
      • ProductIdentifierInput
      • ShippingAddressInput
      • ShopperBwPEligibility
      • String
  • Order
    • Mutations
      • cancelOrder
      • createOrder
      • updateOrder
    • Queries
      • order
    • Objects
      • APayCheckoutSessionId
      • AddressInput
      • Alias
      • AliasInput
      • AmazonSkuProductIdentifier
      • AmazonSkuProductIdentifierInput
      • Amount
      • AmountInput
      • Association
      • Boolean
      • BrowserFingerprintInput
      • CancelOrderInput
      • CancelOrderResponse
      • CanceledFor
      • CancellationDetails
      • CancellationReasonInput
      • CancellationRequestDetails
      • CancellationRequestedFor
      • Cancellations
      • ClientDetailsInput
      • ConditionUnits
      • ContactInput
      • CreateOrderInput
      • CreateOrderResponse
      • Customer
      • CustomerInput
      • Decimal
      • DeliveryDateRange
      • DeliveryInformation
      • DeliveryInformationDetails
      • DeliveryInformationDetailsAliasInput
      • DeliveryInformationDetailsFor
      • DeliveryInformationSummary
      • DeliveryMessage
      • DeliveryMessageInput
      • DeliveryOfferDetails
      • DeliveryOfferDetailsInput
      • DeliveryOfferFor
      • DeliveryOfferForInput
      • DeliveryOfferInfo
      • DeliveryOfferInput
      • DeliveryOfferProviderInput
      • DeliveryOfferSummary
      • DeliveryOfferSummaryInput
      • DeliveryOfferSummaryProviderInput
      • DeliveryPolicy
      • DeliveryPrice
      • DeliveryProduct
      • DeliveryRollupPrice
      • DiscountAllocationDetails
      • DiscountAllocationDetailsInput
      • DiscountAllocationInput
      • DiscountAllocations
      • DiscountAllocationsSummary
      • DiscountAllocationsSummaryInput
      • EmailDataInput
      • ExternalProductIdentifier
      • FeaturedImage
      • FeaturedImageInput
      • Grading
      • GradingSummary
      • ID
      • IdPTokenType
      • IdentityProvider
      • IdentityTokenInput
      • Int
      • Interval
      • IpFingerprintInput
      • LWAAccessToken
      • LineItem
      • LineItemIdentifierInput
      • LineItemInput
      • Money
      • MoneyInput
      • Order
      • OrderExecutionStateInput
      • OrderIdentifierInput
      • OrderIdentifierInputV2
      • OrderLineItemAmount
      • OrderLineItemAmountInput
      • OrderLink
      • OrderLinkInput
      • OrderLinkTypeInput
      • OrderMetadata
      • OrderRevisionIdentifierInput
      • OrderRevisionInput
      • OrderTotalSummary
      • OrderTotalSummaryInput
      • Payer
      • PayerInput
      • PaymentDetails
      • PaymentDetailsInput
      • PaymentMethod
      • PaymentMethodInput
      • PaymentMethodTypeInput
      • PaymentStateInput
      • PaymentSummary
      • PaymentSummaryInput
      • Payments
      • PaymentsInput
      • ProductDeliveryMessage
      • ProductId
      • ProductIdentifier
      • ProductIdentifierInput
      • PurchaseGroupViewMember
      • PurchaseGroupViewMemberInput
      • PurchasedProductView
      • PurchasedProductViewInput
      • QuantityInput
      • Recipient
      • RecipientInput
      • RefundDetails
      • RefundDetailsInput
      • RefundFor
      • RefundForInput
      • RefundInput
      • RefundStateInput
      • RefundSummary
      • RefundSummaryInput
      • RefundTotal
      • RefundTotalInput
      • RefundedOrderLineItemInput
      • Refunds
      • ReturnDeliveryDetails
      • ReturnDetails
      • ReturnFor
      • ReturnLineItem
      • Returns
      • RollupCharge
      • RollupChargeInput
      • RollupChargeTypeInput
      • ShippingAddress
      • ShopperContact
      • SkuProductIdentifier
      • StoreFingerprintInput
      • String
      • TaxInput
      • TaxSummary
      • TaxSummaryInput
      • Taxes
      • TrackingDetails
      • UpdateOrderInput
      • UpdateOrderResponse
      • VariationSelection
      • VariationSelectionInput
  • Returns
    • Queries
      • reversalOffers
    • Objects
      • AmazonProductIdentifierInput
      • Amount
      • Decimal
      • ID
      • LocalizedString
      • ReversalItem
      • ReversalItemIdentifier
      • ReversalItemIdentifierInput
      • ReversalItemInput
      • ReversalItemOfferSummary
      • ReversalItemOffers
      • ReversalOffers
      • ReversalOffersInput
      • ReversalWindow
      • String
  • Privacy
    • Mutations
      • cancelPersonalDataDeletionTask
      • startPersonalDataDeletionTask
      • startPersonalDataRetrievalTask
    • Queries
      • personalDataDeletionTask
      • personalDataRetrievalTask
    • Objects
      • CancelPersonalDataDeletionTaskResponse
      • ClientToken
      • DataSubject
      • DataSubjectInput
      • DataSubjectTypeInput
      • ID
      • Int
      • PersonalDataDeletionTask
      • PersonalDataRetrievalTask
      • PersonalDataTaskError
      • StartPersonalDataDeletionTaskInput
      • StartPersonalDataDeletionTaskResponse
      • StartPersonalDataRetrievalTaskInput
      • StartPersonalDataRetrievalTaskResponse
      • String
  • Analytics
    • Mutations
      • sendUserEvents
      • startReportTask
    • Queries
      • reportDownloadLink
      • reportTask
    • Objects
      • AdditionalPropertiesInput
      • ClientType
      • ID
      • PropertyTuple
      • ReportDateRange
      • ReportDownloadLink
      • ReportRequest
      • SendUserEventInput
      • SendUserEventOutput
      • StartReportTaskInput
      • StartReportTaskResponse
      • String
      • UserEvent
  • Events
    • Mutations
      • createEventSubscription
      • deleteEventSubscription
    • Queries
      • eventSubscription
      • eventSubscriptions
    • Objects
      • Boolean
      • CreateEventSubscriptionInput
      • CreateEventSubscriptionResponse
      • DeleteEventSubscriptionResponse
      • DestinationData
      • DestinationInput
      • EventBridgeData
      • EventBridgeDataInput
      • EventSubscription
      • EventSubscriptionConnection
      • EventSubscriptionDetails
      • EventSubscriptionEdge
      • EventSubscriptionId
      • ID
      • Int
      • PageInfo
      • String
      • partnerEventSource

Mutations

Version 2024-04-01

📘

Important

The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.

Mutations

Mutations related mutations for Buy with Prime API interfaces.

  • cancelPersonalDataDeletionTask
  • startPersonalDataDeletionTask
  • startPersonalDataRetrievalTask

Updated 4 months ago


  • Table of Contents
    • Mutations