CreateProductPicture

Adds a new picture to a product.
ProductId is provided in the request payload.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The picture create command.

Command for adding a picture to a product or variant.
The picture source can be provided either as a Base64 payload (preferred, document-first)
or as an external URL that will be downloaded (with size/type limits) and stored in Lidia Document.

int32 | int32
^-?(?:0|[1-9]\d*)$

Identifier of the product the picture is added to. Required.

int32 | int32 | null
^-?(?:0|[1-9]\d*)$

Identifier of the variant the picture is added to; omit for product-level pictures.

string
required

Display name of the picture.

string

External image URL. Used as the download source when string? PictureCreateCommand.Base64 is not provided;
otherwise stored on the picture as-is.

string | null

Optional Base64 encoded image content. When provided, it is stored in Lidia Document
and linked to the product picture before metadata persistence.

string | null

Optional file name (with extension) for the uploaded document (e.g. "tshirt-red.jpg").
Falls back to the normalized string PictureCreateCommand.Name when omitted.

uuid | null

Optional target Lidia Document folder. When omitted, the organization root folder is used.

int32 | int32
^-?(?:0|[1-9]\d*)$

Display order of the picture within the product or variant.

string
required
length ≥ 1

Gets or sets the client identifier of the requesting application.

string
required
length ≥ 1

Gets or sets the application key used for authentication.

string

Gets or sets the authentication token of the user session.

string

Gets or sets the target environment (e.g. live, test).

string

Gets or sets the token identifying the acting user.

string

Gets or sets the identifier of the user session.

int32 | int32
^-?(?:0|[1-9]\d*)$

Gets or sets the identifier of the acting user.

string

Gets or sets the IP address of the requesting client.

string

Gets or sets the trace identifier used for request logging.

string
enum

Gets or sets the status applied to the entity by the operation.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json