Images and attachments
Create an offer attachment
You can attach pdf, jpeg or png files to your offers. We will present them under the offer description in the Additional information section. You can attach multiple files to one offer – one per each type from the list:
- Guide (MANUAL). Allowed media types: PDF
- Special offer terms (SPECIAL_OFFER_RULES). Allowed media types: PDF
- Competition terms (COMPETITION_RULES). Allowed media types: PDF
- Book excerpt (BOOK_EXCERPT). Allowed media types: PDF
- Manual (USER_MANUAL). Allowed media types: PDF
- Installation manual (INSTALLATION_INSTRUCTIONS). Allowed media types: PDF
- Game manual (GAME_INSTRUCTIONS). Allowed media types: PDF
- Energy label (ENERGY_LABEL). Allowed media types: JPEG, JPG, PNG
- Product information sheet (PRODUCT_INFORMATION_SHEET). Allowed media types: PDF
- Tire label (TIRE_LABEL). Allowed media types: JPEG, JPG, PNG
- Data processing sheet - software (SOFTWARE_DATA_PROCESSING). Allowed media types: PDF
- Data processing sheet - device (HARDWARE_DATA_PROCESSING). Allowed media types: PDF
- Plant Protection Products (PPPs) license (PLANT_PROTECTION_PRODUCTS_AUTHORIZATION). Allowed media types: PDF
You can attach up to 20 files to one product for:
- Safety information manual (SAFETY_INFORMATION_MANUAL). Allowed media types: PDF, JPEG, JPG, PNG
Uploading attachments flow:
- Create an attachment object to receive an upload URL (POST /sale/offer-attachments),
- Use the upload URL to submit the file (PUT /sale/offer-attachments/{attachmentId}),
- Add attachments to the offer (PATCH /sale/product-offers/{offerId}).
Read more: <a href="../../tutorials/jak-jednym-requestem-wystawic-oferte-powiazana-z-produktem-D7Kj9gw4xFA#zalaczniki" target="_blank">PL</a> / <a href="../../tutorials/list-offer-assigned-product-one-request-D7Kj9M71Bu6#attachments" target="_blank">EN</a>.
post/sale/offer-attachments
Request
- Base URL: https://api.allegro.pl
- URL: https://api.allegro.pl/sale/offer-attachments
- 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)
Headers
Accept-Language'en-US' | 'pl-PL' | 'uk-UA' | 'sk-SK' | 'cs-CZ' | 'hu-HU' BCP-47 language code
Expected language of messages.
Response
Attachment created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.