---
title: "Set a product image from a url. This is done Async."
method: POST
path: "/products/{id}/image/url"
tags: ["ProductImage"]
---

# Set a product image from a url. This is done Async.

`POST /products/{id}/image/url`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/products/{id}/image/url`
- Auth: HTTP bearer

## Request body

- SetProductImageFromURL
  - `content` object
    - `url` string: The url to fetch the image from
  - `setatpartners` boolean: Whether or not to update the image for partner products - if true this only updates the image, not any other properties

## Response `200`

Ok

- ProductImageResponse
  - `content` ProductImage: A Product's image
    - `blurhash` string, nullable
    - `preview_url` string
    - `full_url` string
  - `message` string, nullable

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
