Wyszukaj oferty sprzedawcy w Allegro
POST
/api/Offers/GetAllegroSellerOffers
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/GetAllegroSellerOffers';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example","allegroOfferIds":["example"]}'};
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/Offers/GetAllegroSellerOffers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example", "allegroOfferIds": [ "example" ] }'Zwraca oferty konta Allegro według przekazanych kryteriów – operacja odczytu.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
wymagane
string
allegroOfferIds
wymagane
Array<string>
Examplegenerated
{ "connectionId": "example", "allegroOfferIds": [ "example" ]}object
connectionId
wymagane
string
allegroOfferIds
wymagane
Array<string>
Examplegenerated
{ "connectionId": "example", "allegroOfferIds": [ "example" ]}object
connectionId
wymagane
string
allegroOfferIds
wymagane
Array<string>
Examplegenerated
{ "connectionId": "example", "allegroOfferIds": [ "example" ]}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Array<object>
object
offerId
wymagane
string
name
wymagane
string
stockAvailable
wymagane
integer format: int32
stockSold
wymagane
integer format: int32
categoryId
wymagane
string
sku
wymagane
string
publicationStatus
wymagane
string
sellingModePriceAmount
string
sellingModePriceCurrency
string
sellingModeFormat
string
primaryImageUrl
wymagane
string
publicationStartingAt
string
publicationStartedAt
string
publicationEndingAt
string
publicationEndedAt
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
rangeValue
object
from
wymagane
string
to
wymagane
string
values
Array<string>
valuesLabels
Array<string>
valuesIds
Array<string>
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
wymagane
boolean
isTrusted
wymagane
boolean
isAiCoCreated
wymagane
boolean
images
wymagane
Array<string>
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
Array<object>
object
offerId
wymagane
string
name
wymagane
string
stockAvailable
wymagane
integer format: int32
stockSold
wymagane
integer format: int32
categoryId
wymagane
string
sku
wymagane
string
publicationStatus
wymagane
string
sellingModePriceAmount
string
sellingModePriceCurrency
string
sellingModeFormat
string
primaryImageUrl
wymagane
string
publicationStartingAt
string
publicationStartedAt
string
publicationEndingAt
string
publicationEndedAt
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
rangeValue
object
from
wymagane
string
to
wymagane
string
values
Array<string>
valuesLabels
Array<string>
valuesIds
Array<string>
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
wymagane
boolean
isTrusted
wymagane
boolean
isAiCoCreated
wymagane
boolean
images
wymagane
Array<string>
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
Examplegenerated
[ { "offerId": "example", "name": "example", "stockAvailable": 1, "stockSold": 1, "categoryId": "example", "sku": "example", "publicationStatus": "example", "sellingModePriceAmount": "example", "sellingModePriceCurrency": "example", "sellingModeFormat": "example", "primaryImageUrl": "example", "publicationStartingAt": "example", "publicationStartedAt": "example", "publicationEndingAt": "example", "publicationEndedAt": "example", "parameters": [ { "id": "example", "name": "example", "rangeValue": { "from": "example", "to": "example" }, "values": [ "example" ], "valuesLabels": [ "example" ], "valuesIds": [ "example" ], "unit": "example", "options": { "identifiesProduct": true, "isGTIN": true, "isTrusted": true, "isAiCoCreated": true } } ], "images": [ "example" ], "taxSettings": { "rates": [ { "rate": "example", "countryCode": "example" } ] } }]Array<object>
object
offerId
wymagane
string
name
wymagane
string
stockAvailable
wymagane
integer format: int32
stockSold
wymagane
integer format: int32
categoryId
wymagane
string
sku
wymagane
string
publicationStatus
wymagane
string
sellingModePriceAmount
string
sellingModePriceCurrency
string
sellingModeFormat
string
primaryImageUrl
wymagane
string
publicationStartingAt
string
publicationStartedAt
string
publicationEndingAt
string
publicationEndedAt
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
rangeValue
object
from
wymagane
string
to
wymagane
string
values
Array<string>
valuesLabels
Array<string>
valuesIds
Array<string>
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
wymagane
boolean
isTrusted
wymagane
boolean
isAiCoCreated
wymagane
boolean
images
wymagane
Array<string>
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
Examplegenerated
[ { "offerId": "example", "name": "example", "stockAvailable": 1, "stockSold": 1, "categoryId": "example", "sku": "example", "publicationStatus": "example", "sellingModePriceAmount": "example", "sellingModePriceCurrency": "example", "sellingModeFormat": "example", "primaryImageUrl": "example", "publicationStartingAt": "example", "publicationStartedAt": "example", "publicationEndingAt": "example", "publicationEndedAt": "example", "parameters": [ { "id": "example", "name": "example", "rangeValue": { "from": "example", "to": "example" }, "values": [ "example" ], "valuesLabels": [ "example" ], "valuesIds": [ "example" ], "unit": "example", "options": { "identifiesProduct": true, "isGTIN": true, "isTrusted": true, "isAiCoCreated": true } } ], "images": [ "example" ], "taxSettings": { "rates": [ { "rate": "example", "countryCode": "example" } ] } }]Bad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
