Create and Manage Catalogs

📘

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.

Before you can offer Buy with Prime, you must populate the Buy with Prime catalog with products. You can add products to your Buy with Prime catalog in two ways:

You can also create new products, update existing products, or delete products from the catalog. After you create products, you can query and retrieve information associated with those products.

For example requests and responses, see:

Terminology

The following sections describe catalog terminology and match each term to its programming construct.

Product
Description

An item that shoppers can purchase. Each product in the Buy with Prime catalog is associated with attributes (such as a link to the product detail page, the quantity of the item in inventory, and so on) and one or more product identifiers that uniquely identify the product within a specific context.

When you interact with the Buy with Prime API, each product is represented by a Product that contains the product's attributes and IDs.

Associated programming constructA Product ties together the different attributes and product identifiers assigned to a product.
NotesTo upload products to the Buy with Prime catalog, you first put your product details in a CSV file and then upload it. For details, see Upload a catalog. You can also upload products individually. For details, see Create and Manage Products in a Catalog.

Product attribute
Description

A piece of information associated with a product.

Products have the following attributes:

  • Product detail page URL: A link to the product detail page.
  • Inventory: Available inventory.
  • Is Prime intended: Whether the product is intended to be eligible for Prime.
  • Buyability: Whether the product is successfully set up to be purchasable by eligible shoppers through Buy with Prime.
Associated programming constructA Product ties together the different attributes and product identifiers assigned to a product.
NotesN/A

Product identifier
Description

A unique identifier that identifies the product within a specific context. You can use any of the product identifiers when interacting with the API. Buy with Prime business processes also use identifiers, for example, when an order is fulfilled.

There are four types of product identifiers, described later in this topic:

Associated programming constructA Product ties together the different product identifiers assigned to a product.
NotesEach Buy with Prime item can have more than one product identifier. For example, in addition to the id that Buy with Prime assigns the item, you might specify an external ID that corresponds to a listing ID on your end.

Buy with Prime product ID
DefinitionThe unique identifier for a product in the Buy with Prime catalog. Buy with Prime assigns this ID when you upload a product.
Associated programming constructid field, of type ID, within a Product.
NotesYou don't need to rely on this identifier or store it in your system. Rely on your own identifiers (such as external product ID) instead.

External product ID
DefinitionA unique, user-provided product ID that uniquely identifies a product in the Buy with Prime catalog. You provide this ID when you upload a product.
Associated programming constructexternalId field, of type ExternalProductIdentifier, within a Product.
NotesYou can use this ID to store any of your own identifiers, such as a listing ID. We recommend that you use this identifier when you interact with the Buy with Prime API so that you don't need to store any Buy with Prime product identifiers.

SKU assigned by your service
DefinitionA unique, user-provided stock keeping unit (SKU) ID that uniquely identifies a physical item in your system. You provide this ID when you upload a product.
Associated programming constructproductSku field, of type SkuProductIdentifier, within a Product.
NotesSKUs are usually human-readable, which can be useful to quickly identify your product in a report. You can choose to interact with the API using the product's SKU instead of the product's external ID.

Amazon SKU
DefinitionThe unique Amazon SKU, specified in Seller Central or Supply Chain Portal, that identifies a product in Amazon’s fulfillment systems. This SKU is often called mSKU.
Associated programming constructamazonSku field, of type AmazonSkuProductIdentifier, within a Product.
NotesThis identifier is used during delivery preview generation and fulfillment.

Catalog feed
DefinitionA bulk data import operation of Buy with Prime products.
Associated programming constructCatalogFeed
NotesTo create a catalog feed, you first put your product details in a CSV file, and then upload the file. For details, see Upload a Catalog.

Catalog feed file


A CSV file of products that you upload to the Buy with Prime catalog. The uploaded CSV file is deleted after 30 days. For the required format of the feed file, download the template.

The following table shows the fields that the CSV file must contain. Note that the field requirements differ depending on whether this upload is the first listing for a product or you are re-uploading information for an existing listing.

🚧

You must put the headers (field names) as the first row of the CSV file, or the upload will fail.


FieldDescriptionTypeRequired?Required for Re-listing?
External IDA unique external product identifier that you provide. This identifier can be the same as the SKU.StringYesYes
Updated External IDOnly used for re-listing, so leave this empty initially. When re-listing, specify the Updated External ID if you want to change the current External ID.StringNoNo
SKUStock keeping unit.StringYesNo
Amazon SKUAmazon SKU on seller central/supply chain portal.StringYesNo
Offer PrimeWhether to offer Prime for this product. Allowed values: true or false. Default value: false.BooleanNoNo
Image URLLink to product image. Buy with Prime uses the product image for the post-order user experience.StringYesNo
Product Detail Page URLLink to product detail page. Buy with Prime links to the product in the post-order user experience.StringNo, but you must have this URL to enable PrimeNo, but you must have this URL to enable Prime

Catalog feed signal
DefinitionA signal that something has occurred that you must fix.
Associated programming constructSignal
NotesThe catalogFeed query returns a Signal when an error prevents the processing of the catalog feed file.

Catalog feed processing result file

The result of a feed upload in CSV format. When a catalog feed file finishes processing, the result report indicates the success or failure of applying the update from each row of the input catalog feed file. For instructions on how to download the report, see Get the Result of a Catalog Upload.

The report has the following fields.

FieldDescription
Import ResultThe result of the upload.
Error TypeThe type of error that occurred.
Error Code(s)The code of the error that occurred.
Error Detail(s)Details about the error.
External IDA unique external product identifier. This identifier can be the same as the SKU.
Updated External IDOnly used for re-listing, so leave this empty initially. When re-listing, specify the Updated External ID if you want to change the current External ID.
SKUStock keeping unit.
Amazon SKUAmazon SKU on seller central/supply chain portal.
Offer PrimeWhether to offer Prime for this product.
Image URLLink to product image.
Product Detail Page URLLink to product detail page.

API operations

You use the following mutations, queries, and events to create and manage catalogs.

Mutations

NameDescription
createCatalogFeedCreates a catalog feed, which represents a bulk data import operation of Buy with Prime products.
createUploadLinkGets a temporary upload URL for uploading a catalog feed file. After the file is uploaded, you can pass the returned fileId to other Buy with Prime API operations to further process the uploaded file.
createProductCreate a new product within your Buy With Prime catalog.
updateProductUpdate an existing product in your Buy With Prime catalog.
deleteProductDelete an existing product from your Buy With Prime catalog.

Queries

NameDescription
catalogFeedGets a catalog feed, which represents a bulk data import operation of Buy with Prime products.
downloadLinkGets a temporary URL that you use to download files using file IDs returned by Buy with Prime operations such as the catalogFeed query.
inventoryItemGets an inventory item by using a Buy With Prime inventory identifier.
productReturns a product, which holds the product identifier mapping between an e-commerce platform and Amazon's fulfillment systems.
productsReturns a ProductConnection, which holds a list of edges that contain a product. For details about edges, see Pagination in the GraphQL documentation.

Events

EventWhen Event is Published
BUYABILITY_CHANGEDAn item that was previously eligible for Buy with Prime is no longer eligible for Buy with Prime, or vice versa.
INVENTORY_CHANGEDAn item's inventory level changes or an item has an error that requires merchant action.

Related topics