Obrazy

Dodaje obraz produktu

Dodawanie nowego obrazu dla istniejącego produktu

post/images

Request body

altstring

Tekst alternatywny

image_contentstring

Obrazek w formacie png lub jpg zakodowany w base64

orderinteger

Kolejność wyświetlania zdjęć w danym produkcie

product_idinteger

Identyfikator produktu

titlestring

Nazwa produktu

Example request

{
  "alt": "alternatywny tekst obrazu produktowego 1",
  "image_content": "data:image/png;base64,.......................",
  "order": 1,
  "product_id": 1,
  "title": "Obrazek produktu 1"
}

Response

Sukces

fotolister_idinteger

Identyfikator obrazu w systemie fotolister.pl

image_idinteger

Identyfikator obrazu

statusstring

Example response

{
  "fotolister_id": 123332,
  "image_id": 1,
  "status": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.