Zaktualizuj ustawienia ofert konta
PATCH
/api/Connections/UpdateAuctionSettings
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Connections/UpdateAuctionSettings';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"connectionId":"example","defaultAuctionTemplateId":1,"defaultShippingRateId":"example","defaultReturnsPolicyId":"example","defaultCategoryId":"example","defaultResponsibleProducerId":"example","defaultResponsiblePersonId":"example","defaultMarketedBeforeGPSRObligation":"example","defaultSafetyInformationType":"example","defaultSafetyInformationText":"example","defaultUserWarrantyId":"example","defaultAvailability":"example","defaultPriceGroupId":"example","priceMultiplier":1,"additionalPrice":1,"country":"example","city":"example","postCode":"example","voivodeship":"example","defaultSafetyInformationExtraField":"example","requireZeroStockOnAllegro":true,"offerAttachments":[{"attachmentType":"MANUAL","complexFieldName":"example"}],"usePermanentlyDeletedOffers":true,"additionalMarketplaceSettings":[{"marketplace":"AllegroCz","type":"ByAllegro","multiplier":1,"vat":1}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Connections/UpdateAuctionSettings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connectionId": "example", "defaultAuctionTemplateId": 1, "defaultShippingRateId": "example", "defaultReturnsPolicyId": "example", "defaultCategoryId": "example", "defaultResponsibleProducerId": "example", "defaultResponsiblePersonId": "example", "defaultMarketedBeforeGPSRObligation": "example", "defaultSafetyInformationType": "example", "defaultSafetyInformationText": "example", "defaultUserWarrantyId": "example", "defaultAvailability": "example", "defaultPriceGroupId": "example", "priceMultiplier": 1, "additionalPrice": 1, "country": "example", "city": "example", "postCode": "example", "voivodeship": "example", "defaultSafetyInformationExtraField": "example", "requireZeroStockOnAllegro": true, "offerAttachments": [ { "attachmentType": "MANUAL", "complexFieldName": "example" } ], "usePermanentlyDeletedOffers": true, "additionalMarketplaceSettings": [ { "marketplace": "AllegroCz", "type": "ByAllegro", "multiplier": 1, "vat": 1 } ] }'Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
connectionId
wymagane
string
defaultAuctionTemplateId
integer format: int64
defaultShippingRateId
string
defaultReturnsPolicyId
string
defaultCategoryId
string
defaultResponsibleProducerId
string
defaultResponsiblePersonId
string
defaultMarketedBeforeGPSRObligation
string
defaultSafetyInformationType
string
defaultSafetyInformationText
string
defaultUserWarrantyId
string
defaultAvailability
string
defaultPriceGroupId
string
priceMultiplier
number format: float
additionalPrice
number format: float
country
string
city
string
postCode
string
voivodeship
string
defaultSafetyInformationExtraField
string
requireZeroStockOnAllegro
boolean
offerAttachments
Array<object>
object
attachmentType
wymagane
Type of attachment
string
complexFieldName
wymagane
Complex field name which should be used to attach the file to offer.
string
usePermanentlyDeletedOffers
wymagane
boolean
additionalMarketplaceSettings
Array<object>
object
marketplace
wymagane
string
type
wymagane
string
multiplier
number format: float
vat
number format: float
object
connectionId
wymagane
string
defaultAuctionTemplateId
integer format: int64
defaultShippingRateId
string
defaultReturnsPolicyId
string
defaultCategoryId
string
defaultResponsibleProducerId
string
defaultResponsiblePersonId
string
defaultMarketedBeforeGPSRObligation
string
defaultSafetyInformationType
string
defaultSafetyInformationText
string
defaultUserWarrantyId
string
defaultAvailability
string
defaultPriceGroupId
string
priceMultiplier
number format: float
additionalPrice
number format: float
country
string
city
string
postCode
string
voivodeship
string
defaultSafetyInformationExtraField
string
requireZeroStockOnAllegro
boolean
offerAttachments
Array<object>
object
attachmentType
wymagane
Type of attachment
string
complexFieldName
wymagane
Complex field name which should be used to attach the file to offer.
string
usePermanentlyDeletedOffers
wymagane
boolean
additionalMarketplaceSettings
Array<object>
object
marketplace
wymagane
string
type
wymagane
string
multiplier
number format: float
vat
number format: float
object
connectionId
wymagane
string
defaultAuctionTemplateId
integer format: int64
defaultShippingRateId
string
defaultReturnsPolicyId
string
defaultCategoryId
string
defaultResponsibleProducerId
string
defaultResponsiblePersonId
string
defaultMarketedBeforeGPSRObligation
string
defaultSafetyInformationType
string
defaultSafetyInformationText
string
defaultUserWarrantyId
string
defaultAvailability
string
defaultPriceGroupId
string
priceMultiplier
number format: float
additionalPrice
number format: float
country
string
city
string
postCode
string
voivodeship
string
defaultSafetyInformationExtraField
string
requireZeroStockOnAllegro
boolean
offerAttachments
Array<object>
object
attachmentType
wymagane
Type of attachment
string
complexFieldName
wymagane
Complex field name which should be used to attach the file to offer.
string
usePermanentlyDeletedOffers
wymagane
boolean
additionalMarketplaceSettings
Array<object>
object
marketplace
wymagane
string
type
wymagane
string
multiplier
number format: float
vat
number format: float
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
boolean
boolean
Examplegenerated
trueboolean
Examplegenerated
trueBad 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"}
