PXM Products/
PXM Product Import/
PXM Product Import API

PXM Product Import API

The Import API in PXM is available to:

EP PXM Product Import uses a Comma Separated Values (CSV) file to import products, main image files and custom extension data.

POST Import Products in PXM

https://api.moltin.com/pcm/products/import

Import catalog data to manage product data.

Path Parameters

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Body

NameRequiredTypeDescription
fileRequiredstringThe file you want to upload. Ensure that the file format is .csv.

Request Example

curl -X POST https://api.moltin.com/pcm/products/import \
    -H "Content-Type: multipart/form-data" \
    -H "Authorization: Bearer XXXX" \
    -F file=@path/to/file \

Response Example

204 No Content

Errors

Import fails when the file does not contain the required header names name, sku and commodity_type.

For example:

{
    "errors": [
        {
            "status": "422",
            "title": "Failed Validation",
            "detail": "missing required csv header: name"
        }
    ]
}

Was this helpful?

Previous
PXM Product Import CSV File

Learn

Docs