Pobierz ofertę Allegro
GET
/api/Offers/GetOffer
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/GetOffer';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/GetOffer \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”connectionId
string
id
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
name
wymagane
string
productSet
wymagane
Array<object>
object
product
wymagane
object
id
wymagane
string
publication
wymagane
object
status
wymagane
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
quantity
wymagane
object
value
wymagane
integer format: int32
responsibleProducer
object
id
wymagane
string
responsiblePerson
object
id
wymagane
string
safetyInformation
object
type
wymagane
string
description
string
attachments
Array<object>
object
id
wymagane
string
marketedBeforeGPSRObligation
boolean
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>
afterSalesServices
object
impliedWarranty
object
id
wymagane
string
returnPolicy
object
id
wymagane
string
warranty
object
id
wymagane
string
payments
wymagane
object
invoice
wymagane
string
sellingMode
wymagane
object
format
wymagane
string
price
object
amount
wymagane
string
currency
wymagane
string
minimalPrice
object
amount
wymagane
string
currency
wymagane
string
startingPrice
object
amount
wymagane
string
currency
wymagane
string
stock
object
available
wymagane
integer format: int32
unit
wymagane
string
location
wymagane
object
countryCode
wymagane
string
province
wymagane
string
city
wymagane
string
postCode
wymagane
string
delivery
wymagane
object
shippingRates
object
id
wymagane
string
handlingTime
string
additionalInfo
string
shipmentDate
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
url
string
external
wymagane
object
id
wymagane
string
category
wymagane
object
id
wymagane
string
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
sizeTable
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
discounts
wymagane
object
wholesalePriceList
object
id
string
contact
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fundraisingCampaign
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
messageToSellerSettings
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
attachments
wymagane
Array<object>
object
id
wymagane
string
b2b
wymagane
object
buyableOnlyByBusiness
wymagane
boolean
additionalServices
object
id
wymagane
string
compatibilityList
object
id
string
type
wymagane
string
items
wymagane
Array<object>
object
text
wymagane
string
additionalMarketplaces
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
warnings
wymagane
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
id
wymagane
string
language
wymagane
string
publication
wymagane
object
status
wymagane
string
refusalReasons
Array<object>
object
code
wymagane
string
userMessage
wymagane
string
parameters
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
duration
string
endedBy
string
endingAt
string
startingAt
wymagane
string
republish
wymagane
boolean
marketplaces
wymagane
object
base
wymagane
object
id
wymagane
string
additional
wymagane
Array<object>
object
id
wymagane
string
validation
wymagane
object
errors
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
warnings
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
validatedAt
wymagane
string format: date-time
createdAt
string format: date-time
updatedAt
string format: date-time
aiCoCreatedContent
object
images
wymagane
Array<object>
object
url
wymagane
string
paths
Array<string>
object
name
wymagane
string
productSet
wymagane
Array<object>
object
product
wymagane
object
id
wymagane
string
publication
wymagane
object
status
wymagane
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
quantity
wymagane
object
value
wymagane
integer format: int32
responsibleProducer
object
id
wymagane
string
responsiblePerson
object
id
wymagane
string
safetyInformation
object
type
wymagane
string
description
string
attachments
Array<object>
object
id
wymagane
string
marketedBeforeGPSRObligation
boolean
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>
afterSalesServices
object
impliedWarranty
object
id
wymagane
string
returnPolicy
object
id
wymagane
string
warranty
object
id
wymagane
string
payments
wymagane
object
invoice
wymagane
string
sellingMode
wymagane
object
format
wymagane
string
price
object
amount
wymagane
string
currency
wymagane
string
minimalPrice
object
amount
wymagane
string
currency
wymagane
string
startingPrice
object
amount
wymagane
string
currency
wymagane
string
stock
object
available
wymagane
integer format: int32
unit
wymagane
string
location
wymagane
object
countryCode
wymagane
string
province
wymagane
string
city
wymagane
string
postCode
wymagane
string
delivery
wymagane
object
shippingRates
object
id
wymagane
string
handlingTime
string
additionalInfo
string
shipmentDate
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
url
string
external
wymagane
object
id
wymagane
string
category
wymagane
object
id
wymagane
string
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
sizeTable
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
discounts
wymagane
object
wholesalePriceList
object
id
string
contact
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fundraisingCampaign
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
messageToSellerSettings
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
attachments
wymagane
Array<object>
object
id
wymagane
string
b2b
wymagane
object
buyableOnlyByBusiness
wymagane
boolean
additionalServices
object
id
wymagane
string
compatibilityList
object
id
string
type
wymagane
string
items
wymagane
Array<object>
object
text
wymagane
string
additionalMarketplaces
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
warnings
wymagane
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
id
wymagane
string
language
wymagane
string
publication
wymagane
object
status
wymagane
string
refusalReasons
Array<object>
object
code
wymagane
string
userMessage
wymagane
string
parameters
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
duration
string
endedBy
string
endingAt
string
startingAt
wymagane
string
republish
wymagane
boolean
marketplaces
wymagane
object
base
wymagane
object
id
wymagane
string
additional
wymagane
Array<object>
object
id
wymagane
string
validation
wymagane
object
errors
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
warnings
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
validatedAt
wymagane
string format: date-time
createdAt
string format: date-time
updatedAt
string format: date-time
aiCoCreatedContent
object
images
wymagane
Array<object>
object
url
wymagane
string
paths
Array<string>
Examplegenerated
{ "name": "example", "productSet": [ { "product": { "id": "example", "publication": { "status": "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 } } ] }, "quantity": { "value": 1 }, "responsibleProducer": { "id": "example" }, "responsiblePerson": { "id": "example" }, "safetyInformation": { "type": "example", "description": "example", "attachments": [ { "id": "example" } ] }, "marketedBeforeGPSRObligation": true } ], "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" ], "afterSalesServices": { "impliedWarranty": { "id": "example" }, "returnPolicy": { "id": "example" }, "warranty": { "id": "example" } }, "payments": { "invoice": "example" }, "sellingMode": { "format": "example", "price": { "amount": "example", "currency": "example" }, "minimalPrice": { "amount": "example", "currency": "example" }, "startingPrice": { "amount": "example", "currency": "example" } }, "stock": { "available": 1, "unit": "example" }, "location": { "countryCode": "example", "province": "example", "city": "example", "postCode": "example" }, "delivery": { "shippingRates": { "id": "example" }, "handlingTime": "example", "additionalInfo": "example", "shipmentDate": "example" }, "description": { "sections": [ { "items": [ { "type": "example", "content": "example", "url": "example" } ] } ] }, "external": { "id": "example" }, "category": { "id": "example" }, "taxSettings": { "rates": [ { "rate": "example", "countryCode": "example" } ] }, "sizeTable": { "additionalProperty": {} }, "discounts": { "wholesalePriceList": { "id": "example" } }, "contact": { "additionalProperty": {} }, "fundraisingCampaign": { "additionalProperty": {} }, "messageToSellerSettings": { "additionalProperty": {} }, "attachments": [ { "id": "example" } ], "b2b": { "buyableOnlyByBusiness": true }, "additionalServices": { "id": "example" }, "compatibilityList": { "id": "example", "type": "example", "items": [ { "text": "example" } ] }, "additionalMarketplaces": { "additionalProperty": {} }, "warnings": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "id": "example", "language": "example", "publication": { "status": "example", "refusalReasons": [ { "code": "example", "userMessage": "example", "parameters": { "additionalProperty": {} } } ], "duration": "example", "endedBy": "example", "endingAt": "example", "startingAt": "example", "republish": true, "marketplaces": { "base": { "id": "example" }, "additional": [ { "id": "example" } ] } }, "validation": { "errors": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "warnings": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "validatedAt": "2026-04-15T12:00:00Z" }, "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "aiCoCreatedContent": { "images": [ { "url": "example" } ], "paths": [ "example" ] }}object
name
wymagane
string
productSet
wymagane
Array<object>
object
product
wymagane
object
id
wymagane
string
publication
wymagane
object
status
wymagane
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
quantity
wymagane
object
value
wymagane
integer format: int32
responsibleProducer
object
id
wymagane
string
responsiblePerson
object
id
wymagane
string
safetyInformation
object
type
wymagane
string
description
string
attachments
Array<object>
object
id
wymagane
string
marketedBeforeGPSRObligation
boolean
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>
afterSalesServices
object
impliedWarranty
object
id
wymagane
string
returnPolicy
object
id
wymagane
string
warranty
object
id
wymagane
string
payments
wymagane
object
invoice
wymagane
string
sellingMode
wymagane
object
format
wymagane
string
price
object
amount
wymagane
string
currency
wymagane
string
minimalPrice
object
amount
wymagane
string
currency
wymagane
string
startingPrice
object
amount
wymagane
string
currency
wymagane
string
stock
object
available
wymagane
integer format: int32
unit
wymagane
string
location
wymagane
object
countryCode
wymagane
string
province
wymagane
string
city
wymagane
string
postCode
wymagane
string
delivery
wymagane
object
shippingRates
object
id
wymagane
string
handlingTime
string
additionalInfo
string
shipmentDate
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
url
string
external
wymagane
object
id
wymagane
string
category
wymagane
object
id
wymagane
string
taxSettings
object
rates
wymagane
Array<object>
object
rate
string
countryCode
wymagane
string
sizeTable
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
discounts
wymagane
object
wholesalePriceList
object
id
string
contact
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fundraisingCampaign
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
messageToSellerSettings
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
attachments
wymagane
Array<object>
object
id
wymagane
string
b2b
wymagane
object
buyableOnlyByBusiness
wymagane
boolean
additionalServices
object
id
wymagane
string
compatibilityList
object
id
string
type
wymagane
string
items
wymagane
Array<object>
object
text
wymagane
string
additionalMarketplaces
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
warnings
wymagane
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
id
wymagane
string
language
wymagane
string
publication
wymagane
object
status
wymagane
string
refusalReasons
Array<object>
object
code
wymagane
string
userMessage
wymagane
string
parameters
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
duration
string
endedBy
string
endingAt
string
startingAt
wymagane
string
republish
wymagane
boolean
marketplaces
wymagane
object
base
wymagane
object
id
wymagane
string
additional
wymagane
Array<object>
object
id
wymagane
string
validation
wymagane
object
errors
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
warnings
Array<object>
object
code
wymagane
string
message
string
details
string
path
string
userMessage
wymagane
string
metadata
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
wymagane
boolean
parent
object
object recursive
root
wymagane
object
object recursive
fullLogMessage
wymagane
string
validatedAt
wymagane
string format: date-time
createdAt
string format: date-time
updatedAt
string format: date-time
aiCoCreatedContent
object
images
wymagane
Array<object>
object
url
wymagane
string
paths
Array<string>
Examplegenerated
{ "name": "example", "productSet": [ { "product": { "id": "example", "publication": { "status": "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 } } ] }, "quantity": { "value": 1 }, "responsibleProducer": { "id": "example" }, "responsiblePerson": { "id": "example" }, "safetyInformation": { "type": "example", "description": "example", "attachments": [ { "id": "example" } ] }, "marketedBeforeGPSRObligation": true } ], "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" ], "afterSalesServices": { "impliedWarranty": { "id": "example" }, "returnPolicy": { "id": "example" }, "warranty": { "id": "example" } }, "payments": { "invoice": "example" }, "sellingMode": { "format": "example", "price": { "amount": "example", "currency": "example" }, "minimalPrice": { "amount": "example", "currency": "example" }, "startingPrice": { "amount": "example", "currency": "example" } }, "stock": { "available": 1, "unit": "example" }, "location": { "countryCode": "example", "province": "example", "city": "example", "postCode": "example" }, "delivery": { "shippingRates": { "id": "example" }, "handlingTime": "example", "additionalInfo": "example", "shipmentDate": "example" }, "description": { "sections": [ { "items": [ { "type": "example", "content": "example", "url": "example" } ] } ] }, "external": { "id": "example" }, "category": { "id": "example" }, "taxSettings": { "rates": [ { "rate": "example", "countryCode": "example" } ] }, "sizeTable": { "additionalProperty": {} }, "discounts": { "wholesalePriceList": { "id": "example" } }, "contact": { "additionalProperty": {} }, "fundraisingCampaign": { "additionalProperty": {} }, "messageToSellerSettings": { "additionalProperty": {} }, "attachments": [ { "id": "example" } ], "b2b": { "buyableOnlyByBusiness": true }, "additionalServices": { "id": "example" }, "compatibilityList": { "id": "example", "type": "example", "items": [ { "text": "example" } ] }, "additionalMarketplaces": { "additionalProperty": {} }, "warnings": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "id": "example", "language": "example", "publication": { "status": "example", "refusalReasons": [ { "code": "example", "userMessage": "example", "parameters": { "additionalProperty": {} } } ], "duration": "example", "endedBy": "example", "endingAt": "example", "startingAt": "example", "republish": true, "marketplaces": { "base": { "id": "example" }, "additional": [ { "id": "example" } ] } }, "validation": { "errors": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "warnings": [ { "code": "example", "message": "example", "details": "example", "path": "example", "userMessage": "example", "metadata": { "additionalProperty": {} } } ], "validatedAt": "2026-04-15T12:00:00Z" }, "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "aiCoCreatedContent": { "images": [ { "url": "example" } ], "paths": [ "example" ] }}Not Found
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"}
