Skopiuj reguły parametrów
PUT
/api/ParameterRules/CopyParameterRules
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ParameterRules/CopyParameterRules';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"sourceCatalogId":"example","targetCatalogId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ParameterRules/CopyParameterRules \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "sourceCatalogId": "example", "targetCatalogId": "example" }'Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
sourceCatalogId
wymagane
string
targetCatalogId
wymagane
string
Examplegenerated
{ "sourceCatalogId": "example", "targetCatalogId": "example"}object
sourceCatalogId
wymagane
string
targetCatalogId
wymagane
string
Examplegenerated
{ "sourceCatalogId": "example", "targetCatalogId": "example"}object
sourceCatalogId
wymagane
string
targetCatalogId
wymagane
string
Examplegenerated
{ "sourceCatalogId": "example", "targetCatalogId": "example"}Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK

