Update product by ID

patch
/products/{id}

Update product by ID.

id
string
required

The ID of the product.

as-store-id
string
required

The unique store identifier is generated by AfterShip. You can obtain this id by making a GET /stores call to get existing stores or a POST /stores to create a new store.

title
string

The title of the product.

<= 1024 characters
Example:
Power Mobile Phone
slug
string

URL friendly unique identifier for the product.

<= 1024 characters
Example:
power-mobile-phone
categories
array[string]

The categories associated with the product, used for filtering and search purposes.

<= 100 items
tags
array[string]

The tags associated with the product, used for filtering and search purposes.

<= 100 items
image_urls
array[string]

URLs of the product images.

<= 100 items
url
string

The URL of the product page in your online storefront.

<= 2048 characters
Example:
https://example.com/product/
published
boolean

To indicate whether the product has been published.

description
string

Description of the product.

<= 10240 characters
source_updated_at
string

The date and time, formatted in ISO 8601, indicating when the product was updated in your e-commerce system.

Example:
2021-04-15T20:02:09Z
Auth
:
Parameters
:
:
Body
preparing...