Changelog for the Buy with Prime API v2024-04-01
Buy with Prime API is now available for early access
Sign up for early access to the Buy with Prime API using the 'Sign Up' button below. The API may change as Amazon receives feedback and iterates on it.
December 30, 2024
PurchaseGroupViewMember is now available.
November 22, 2024
The following changes were made to the Buy with Prime API v2024-04-01.
Order interface
ReturnDetailsnow includes the fieldsreturnDeliveryDetailsandreturnLineItems.
Returns interface
The following APIs in the Returns interface are changed:
- The query
generateReversalOffersis nowreversalOffers. - In
ReversalOffers, the fieldReversalOfferGroupsis nowReversalItemOffers. ReversalOfferGroupSummaryis nowReversalItemOfferSummaryReversalItemOfferSummarynow includes the fieldswindowandresolutionTypes.
May 13, 2024
This changelog lists the updates associated with Buy with Prime API v2024-04-01.
Backwards-incompatible changes
v2024-04-01 of the Buy with Prime API has the following backwards-incompatible updates from the v2024-01-01 version. These updates require code changes on your end if you decide to migrate to this version.
Catalog interface
The "mapping product" concept was replaced by the "product" concept. This resulted in the following changes:
- The
mappingProductquery was renamed toproduct. There is now also aproductsquery to retrieve multiple products from the Buy with Prime catalog in one API call. - The
MappingProductobject was renamed toProduct, and the following fields were renamed:productExternalIdwas renamed toexternalId.productSkuwas renamed tosku.productMskuwas renamed toamazonSku.isPrimeIntendedwas renamed toofferPrime.urlwas renamed toproductDetailPageUrl.
- The
MskuProductIdentifierobject was renamed toAmazonSkuProductIdentifier. - The
Issueobject was removed. Use theSignalobject instead. - For the
createUploadLinkmutation:- The
fileExtensionfield in the input was renamed tofileType. - The
createUploadLinkmutation now returns aCreateUploadLinkResponseobject that contains the upload link as a field, instead of returning the upload link itself.
- The
Delivery Preview interface
- In the input to the
deliveryPreviewquery, theitemsfield was renamed toproducts, which resulted in the following additional changes:- The
DeliveryItemInputobject was renamed toDeliveryProductInput, and thequantityfield was renamed toamount. - The
DeliveryItemobject was renamed toDeliveryProduct. - The
itemMessagingfield of theDeliveryPolicyobject was renamed toproductMessaging. - The exceptions are now
ProductAmountUnavailable,ProductNotPrimeEnabled, andProductOutOfStock.
- The
- The
DeliveryOfferobject no longer has achargefield.
Order interface
- The
createOrderandupdateOrdermutations now return the entire order. - In the
CreateOrderInputobject, theorderTotalfield was replaced by thetotalPricefield. - In the
LineItemobject, thepurchasedItemfield was renamed toproduct. - The
CanceledOrderLineItemobject was removed. - The
associationfield of theDeliveryInformationobject was removed. To access order line items associated with the delivery information, use thedeliveryInformationDetailsForfield of theDeliveryInformationDetailsobject. - The following events were renamed:
ITEM_CANCELLEDwas renamed toDELIVERY_CANCELLED.ITEM_DELIVEREDwas renamed toDELIVERY_COMPLETED.ITEM_IN_TRANSITwas renamed toDELIVERY_IN_TRANSIT.
Return interface
- The
generateReversalOffersquery was renamed toreversalOffers. - The
ReversalOfferGroupobject was renamed toReversalItemOffers. - In the
ReversalOffersobject, thereversalOfferGroupsfield was replaced byreversalOfferCollection. - In the
ReturnForobject, theorderLineItemsfield now contains a list ofOrderLineItemAmountobjects instead ofReturnOrderLineItemobjects. - The returned
ReversalOffersnow provide locale information rather than just en-US strings without locale information.
Refund interface
- In the
RefundForobject, theorderLineItemsfield now contains a list ofOrderLineItemAmountobjects instead ofRefundedOrderLineItemobjects. refundTotalis now a required field inRefundDetailsInput.
Privacy interface
- The
createPrivacyRequestmutation was replaced bystartPersonalDataRetrievalTaskandstartPersonalDataDeletionTask. - The
privacyRequestquery was replaced bypersonalDataRetrievalTaskandpersonalDataDeletionTask. - The
cancelPrivacyRequestmutation was renamed tocancelPersonalDataDeletionTask.
Event interface
- Event interface mutations and queries were removed. To subscribe to events, work with your Buy with Prime solutions architect.
Backwards-compatible changes
v2024-04-01 of the Buy with Prime API has the following backwards-compatible updates from the v2024-01-01 version.
Catalog interface
- There are three new mutations:
- The
FeaturedImageInputobject now contains analttextstring field that you can use to specify the image alt text, which is not supported by the CSV. - In the catalog feed processing result CSV file, there are now "Error Type(s)" and "Error Code(s)" columns. For details, see Get the Result of a Catalog Upload. Update your CSV-parsing logic to handle the two new fields and their machine-friendly values.
Return interface
- There is now a
resolutionTypestag to indicate return eligibility in the API response to explicitly indicate returnability with resolution type value'RETURN'. You no longer need to rely on a string match with the reversal offer summary view.
Privacy interface
Updated 6 months ago
