Interface UpdateProductDto<CustomFields>

Payload for updating a product

See

ProductResponse for details on fields

interface UpdateProductDto {
    additionalInformation?: string;
    addressLine1?: string;
    addressLine2?: string;
    addressLine3?: string;
    attributes?: {
        attributeId: string;
        value: string | number | boolean | string[] | Date;
    }[];
    categoryId?: string;
    customFields?: CustomFields;
    description?: string;
    dimensions?: string;
    features?: {
        name: string;
        value: string;
    }[];
    geoCoordinatesField?: {
        coordinates: [number, number];
        type: string;
    };
    imageIds?: string[];
    isPromoted?: boolean;
    locationIds?: string[];
    name?: string;
    postalCode?: string;
    publication?: Partial<ProductPublication>;
    tags?: string[];
    variantNote?: string;
}

Type Parameters

  • CustomFields = unknown

Properties

additionalInformation?: string
addressLine1?: string
addressLine2?: string
addressLine3?: string
attributes?: {
    attributeId: string;
    value: string | number | boolean | string[] | Date;
}[]

Type declaration

  • attributeId: string
  • value: string | number | boolean | string[] | Date
categoryId?: string
customFields?: CustomFields
description?: string
dimensions?: string
features?: {
    name: string;
    value: string;
}[]

Type declaration

  • name: string
  • value: string
geoCoordinatesField?: {
    coordinates: [number, number];
    type: string;
}

Type declaration

  • coordinates: [number, number]
  • type: string
imageIds?: string[]
isPromoted?: boolean
locationIds?: string[]
name?: string
postalCode?: string
publication?: Partial<ProductPublication>
tags?: string[]
variantNote?: string

Generated using TypeDoc