Images and attachments

Upload an offer image

Upload image to our servers. You can choose from two upload options:

  • - provide a link and we will download an image for you
  • - send an image as binary data

Important! Remember to use dedicated domain for upload, i.e.

Read more about the rules for photos in an offer's gallery and description: <a href="https://help.allegro.com/pl/sell/a/zasady-dla-zdjec-w-galerii-i-w-opisie-8dvWz3eo4T5?marketplaceId=allegro-pl" target="_blank">PL</a> / <a href="https://help.allegro.com/en/sell/a/rules-for-images-in-the-gallery-and-in-descriptions-8dvWB8Y2PIq" target="_blank">EN</a>.

post/sale/images

Request

  • Base URL: https://upload.allegro.pl
  • URL: https://upload.allegro.pl/sale/images
  • Auth: OAuth 2 (authorization code, authorization URL https://allegro.pl/auth/oauth/authorize, token URL https://allegro.pl/auth/oauth/token, scopes: allegro:api:sale:offers:write)

Query parameters

isAiCoCreatedboolean

Sets the uploaded image to be marked as "AI". For a JSON request body (application/vnd.allegro.public.v1+json), this flag can also be provided in the request body. If both the query parameter and the request body are provided, their values must not conflict, otherwise a 400 response is returned.

Headers

Accept-Language'en-US' | 'pl-PL' | 'uk-UA' | 'sk-SK' | 'cs-CZ' | 'hu-HU' BCP-47 language code

Expected language of messages.

Response

Image uploaded correctly

Changes

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