Skip to main content

Update Product

PUT 

/commerce/products/:productId

Update product for a specified user and credential set

Request

Path Parameters

    productId stringrequired

Query Parameters

    credentialId stringrequired

    The ID of the credential.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Body

    productType string

    The type of product.

    productName stringrequired

    A string used to retrieve products with a specific product name.

    description stringrequired

    A string used to retrieve products with a specific description.

    productStatus stringrequired

    Possible values: [DRAFT, ACTIVE, INACTIVE, UNLISTED]

    A string used to retrieve products with a specific product status.

    tags string[]

    An array of tags associated with the product.

    vendor string

    A string used to retrieve products from a specific vendor.

    remoteFields json

    An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.

Responses

200

Schema

    any

Loading...