Amazon Feed Transformer
  • Installation
  • Getting started
  • Feed Types
    • XML feeds
      • Inventory Availability
      • Product Pricing
      • Product Images
      • Product Relationships
      • Products
    • Flat file feeds
      • Inventory Loader
      • Price and Quantity Update
      • Flat File Listings
      • Convergence Listings
      • Flat File Bookloader
      • UIEE Bookloader
  • Validation
Powered by GitBook
On this page
  • Supported feed types
  • Common required parameters
  1. Feed Types

Flat file feeds

PreviousProductsNextInventory Loader

Last updated 9 months ago

Supported feed types

The feed transformer library has support for these deprecated flat file feed types:

  • POST_FLAT_FILE_INVLOADER_DATA

  • POST_FLAT_FILE_PRICEANDQUANTITYONLY_UPDATE_DATA

  • POST_FLAT_FILE_LISTINGS_DATA

We're working on support for these feed types:

  • POST_FLAT_FILE_CONVERGENCE_LISTINGS_DATA

  • POST_FLAT_FILE_BOOKLOADER_DATA

  • POST_UIEE_BOOKLOADER_DATA

If you need support for one of the feed types that is still in development, and we'll prioritize it.

Common required parameters

All flat file feed types require an extra merchantId parameter to be passed to the converter methods. You can find your region-specific Amazon merchant ID .

(If you primarily sell outside the US and that merchant ID link doesn't work for you, try copying it and replacing sellercentral.amazon.com with the Seller Central URL that you usually use.)

Here's how to pass the merchant id:

use SellingPartnerApi\FeedTransformer\Transformer;
use SellingPartnerApi\FeedTransformer\FeedTypes\Invloader;

$feedFile = 'path/to/your/feed.tab';
$json = Transformer::fromFile(
    Invloader::$feedType,  // -> POST_FLAT_FILE_INVLOADER_DATA
    $feedFile,
    'ATVPDKIKX0DER',
    ['merchantId' => 'A2DI..........']
);

$jsonFeedPath = 'path/to/new/feed.json';
file_put_contents($jsonFeedPath, json_encode($json));

Check the documentation pages for the specific feed type(s) you're working with to see if you need to pass other feed-type-specific parameters.

let us know
here