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.
- - https://upload.allegro.pl for Production
- - https://upload.allegro.pl.allegrosandbox.pl for Sandbox
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>.
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
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
Expected language of messages.
Response
Image uploaded correctly
Changes
No recorded changes to this operation across all 1 revision of this API.