Skip to main content

Create main image relationships

POST 

/pcm/products/:productID/relationships/main_image

Associates a main image with the specified product.

Request

Path Parameters

    productID stringrequired

    A unique identifier for the product.

Body

    data object
    id string

    The ID of the image file.

    type string

    Possible values: [file]

    This represents the type of resource being returned. Always file.

Responses

No Content

Loading...