Przejdź do głównej zawartości

Wystaw oferty na innym koncie Allegro

POST
/api/Offers/ListOnAnotherAccount
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/ListOnAnotherAccount \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "parentConnectionId": "example", "connectionId": "example", "shippingRateId": "example", "responsiblePersonId": "example", "responsibleProducerId": "example", "templateId": 1, "useOfferStock": true, "complaint": "example", "return": "example", "warranty": "example", "safetyInformationType": "example", "safetyInformationText": "example", "safetyInformationSource": "Connection", "offerIds": [ "example" ], "offerAttachments": [ { "attachmentType": "MANUAL", "complexFieldName": "example" } ], "createAsDraft": true }'

Kopiuje wybrane oferty na inne połączone konto Allegro; zwraca operację asynchroniczną.

object
parentConnectionId
wymagane
string
connectionId
wymagane
string
shippingRateId
wymagane
string
responsiblePersonId
wymagane
string
responsibleProducerId
wymagane
string
templateId
wymagane
integer format: int32
useOfferStock
wymagane
boolean
complaint
wymagane
string
return
wymagane
string
warranty
wymagane
string
safetyInformationType
string
nullable
safetyInformationText
string
nullable
safetyInformationSource
wymagane
string
Dozwolone wartości: Connection ParentOffer OwnText ExtraField Attachments
offerIds
Array<string>
nullable
offerAttachments
Array<object>
nullable
object
attachmentType
wymagane

Type of attachment

string
Dozwolone wartości: MANUAL SPECIAL_OFFER_RULES COMPETITION_RULES BOOK_EXCERPT USER_MANUAL INSTALLATION_INSTRUCTIONS GAME_INSTRUCTIONS ENERGY_LABEL PRODUCT_INFORMATION_SHEET TIRE_LABEL SAFETY_INFORMATION_MANUAL SOFTWARE_DATA_PROCESSING HARDWARE_DATA_PROCESSING PLANT_PROTECTION_PRODUCTS_AUTHORIZATION
complexFieldName
wymagane

Complex field name which should be used to attach the file to offer.

string
createAsDraft
boolean
nullable

OK

object
id
wymagane
integer format: int64

Bad Request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

Unprocessable Content

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties