Eksportuj oferty do CSV
POST
/api/ProductAllegroOffer/ExportOffersToCsv
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/ExportOffersToCsv';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example","allegroOfferStatus":"ACTIVE","offersIds":["example"],"useConnectionName":true,"useCatalog":true,"useProductization":true,"useEanNumber":true,"useOfferName":true,"useCurrentStock":true,"useStartDate":true,"useEndDate":true,"useShippingPrice":true,"useVat":true,"useCategoryId":true,"useTemplateId":true,"useShippingRateId":true,"useShippingTime":true,"useAuctionNumber":true,"useProductId":true,"useSku":true,"useStatus":true,"useSoldQuantity":true,"useStartDateUnix":true,"useEndDateUnix":true,"usePrice":true,"useWeight":true,"useCategoryName":true,"useTemplateName":true,"useShippingRate":true,"useOfferCreatorUsername":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/ExportOffersToCsv \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example", "allegroOfferStatus": "ACTIVE", "offersIds": [ "example" ], "useConnectionName": true, "useCatalog": true, "useProductization": true, "useEanNumber": true, "useOfferName": true, "useCurrentStock": true, "useStartDate": true, "useEndDate": true, "useShippingPrice": true, "useVat": true, "useCategoryId": true, "useTemplateId": true, "useShippingRateId": true, "useShippingTime": true, "useAuctionNumber": true, "useProductId": true, "useSku": true, "useStatus": true, "useSoldQuantity": true, "useStartDateUnix": true, "useEndDateUnix": true, "usePrice": true, "useWeight": true, "useCategoryName": true, "useTemplateName": true, "useShippingRate": true, "useOfferCreatorUsername": true }'Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
string
allegroOfferStatus
string
offersIds
Array<string>
useConnectionName
wymagane
boolean
useCatalog
wymagane
boolean
useProductization
wymagane
boolean
useEanNumber
wymagane
boolean
useOfferName
wymagane
boolean
useCurrentStock
wymagane
boolean
useStartDate
wymagane
boolean
useEndDate
wymagane
boolean
useShippingPrice
wymagane
boolean
useVat
wymagane
boolean
useCategoryId
wymagane
boolean
useTemplateId
wymagane
boolean
useShippingRateId
wymagane
boolean
useShippingTime
wymagane
boolean
useAuctionNumber
wymagane
boolean
useProductId
wymagane
boolean
useSku
wymagane
boolean
useStatus
wymagane
boolean
useSoldQuantity
wymagane
boolean
useStartDateUnix
wymagane
boolean
useEndDateUnix
wymagane
boolean
usePrice
wymagane
boolean
useWeight
wymagane
boolean
useCategoryName
wymagane
boolean
useTemplateName
wymagane
boolean
useShippingRate
wymagane
boolean
useOfferCreatorUsername
wymagane
boolean
object
connectionId
string
allegroOfferStatus
string
offersIds
Array<string>
useConnectionName
wymagane
boolean
useCatalog
wymagane
boolean
useProductization
wymagane
boolean
useEanNumber
wymagane
boolean
useOfferName
wymagane
boolean
useCurrentStock
wymagane
boolean
useStartDate
wymagane
boolean
useEndDate
wymagane
boolean
useShippingPrice
wymagane
boolean
useVat
wymagane
boolean
useCategoryId
wymagane
boolean
useTemplateId
wymagane
boolean
useShippingRateId
wymagane
boolean
useShippingTime
wymagane
boolean
useAuctionNumber
wymagane
boolean
useProductId
wymagane
boolean
useSku
wymagane
boolean
useStatus
wymagane
boolean
useSoldQuantity
wymagane
boolean
useStartDateUnix
wymagane
boolean
useEndDateUnix
wymagane
boolean
usePrice
wymagane
boolean
useWeight
wymagane
boolean
useCategoryName
wymagane
boolean
useTemplateName
wymagane
boolean
useShippingRate
wymagane
boolean
useOfferCreatorUsername
wymagane
boolean
object
connectionId
string
allegroOfferStatus
string
offersIds
Array<string>
useConnectionName
wymagane
boolean
useCatalog
wymagane
boolean
useProductization
wymagane
boolean
useEanNumber
wymagane
boolean
useOfferName
wymagane
boolean
useCurrentStock
wymagane
boolean
useStartDate
wymagane
boolean
useEndDate
wymagane
boolean
useShippingPrice
wymagane
boolean
useVat
wymagane
boolean
useCategoryId
wymagane
boolean
useTemplateId
wymagane
boolean
useShippingRateId
wymagane
boolean
useShippingTime
wymagane
boolean
useAuctionNumber
wymagane
boolean
useProductId
wymagane
boolean
useSku
wymagane
boolean
useStatus
wymagane
boolean
useSoldQuantity
wymagane
boolean
useStartDateUnix
wymagane
boolean
useEndDateUnix
wymagane
boolean
usePrice
wymagane
boolean
useWeight
wymagane
boolean
useCategoryName
wymagane
boolean
useTemplateName
wymagane
boolean
useShippingRate
wymagane
boolean
useOfferCreatorUsername
wymagane
boolean
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Typ treścitext/csv
string format: binary

