Skip to main content

Export Products

POST 

/pcm/products/export

The Export API is available to make bulk updates to products in Product Experience Manager. You might also export products for your personal requirements.

The Export API builds a CSV file containing the product entries. A CSV file can contain up to 50,000 product entries. If you have more than 50,000 product entries, then another CSV file is created and so on, until all your products are exported.

The Job endpoint response specifies the location where the CSV file is stored. See Characteristics of CSV Files.

Filtering

The following attributes and operators are supported.

OperatorAttributeDescriptionExample
eqsku, slug, upc_ean, manufacturer_part_num, name, description, tagsEquals. Checks if the values of two operands are equal. If they are, the condition is true. When filtering on tags, you can only specify one product tag.filter=eq(name,some-name)
Insku, tagsChecks if the values are included in the specified string. If they are, the condition is true. When filtering on tags, you can specify a list of product tags.filter=in(id,some-id)
likesku, slug, upc_ean, manufacturer_part_num, name, descriptionLike. Checks if the operand contains the specified string. Wildcards are supported.filter=like(name,some-name)

Request

Query Parameters

    useTemplateSlugs boolean

    Set to true if you want to use a template slug instead of a template ID when exporting products that have custom data.

    filter string

    Many Commerce API endpoints support filtering. The general syntax is described here, but you must go to a specific endpoint to understand the attributes and operators an endpoint supports.

    For more information about the attributes and operators that this endpoint supports, see Export Products.

Body

    object

Responses

Export started

Schema
    data object
    id string

    A unique identifier generated when a job is created.

    type string

    Possible values: [pim-job]

    This represents the type of resource object being returned. Always pim-job.

    attributes object
    started_at date-timenullable

    The date and time a job is started.

    completed_at date-timenullable

    The date and time a job is completed.

    created_at date-time

    The date and time a job is created.

    updated_at date-time

    The date and time a job is updated.

    type string

    Possible values: [child-products, product-import, product-export, hierarchy-duplicate, price-import]

    The status of a job.

    • pending - Commerce has received the request but is currently busy processing other requests.
    • started - Commerce has started processing the job.
    • success - The job has successfully completed.
    • failed - The job has failed.
    status string

    Possible values: [pending, cancelled, started, success, failed]

    meta object
    x_request_id string

    Applies to all job types. A unique request ID is generated when a job is created.

    copied_from string

    Applies to hierarchy-duplicate job types. The ID of the original hierarchy that you duplicated.

    hierarchy_id string

    Applies to hierarchy-duplicate job types. The duplicated hierarchy ID.

    file_locations string[]nullable

    If the job type is product_export, a link to the file is created when running a job.

    filter string

    The entities included in the job. For example, if the job type is product-export, the PXM products included in the export.

Loading...