Utwórz nowe powiązanie produktu/wariantu z ofertą zewnętrzną
Tworzy nowe powiązanie oferty z produktem lub wariantem. Wspiera mechanizm Smart Resolution: podanie samego variant_id automatycznie wyznacza i przypina nadrzędny product_id.
Request body
Example request
{
"product_id": 123,
"variant_id": 7691,
"product_variant_id": 7691,
"external_account_id": 5,
"account_id": 5,
"external_offer_id": "1234567890"
}Response
Powiązanie zostało utworzone pomyślnie. Zwraca zunifikowany obiekt oferty.
Example response
{
"id": 1524,
"product_id": 123,
"variant_id": 7691,
"external_account_id": 10,
"account_id": 10,
"external_offer_id": "748392011",
"integration": "allegro"
}Changes
Changed in 1 of the 2 revisions of this API.16
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
the request property
became optionalrequest-property-became-optional
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲