Produkty - Oferty
Utwórz nowe powiązanie produktu/wariantu z ofertą zewnętrzną
Changed onTworzy nowe powiązanie oferty z produktem lub wariantem. Gdy podasz samo variant_id, produkt zostanie uzupełniony automatycznie.
post/products_offers
Request
- Base URLhttps://demo.sellasist.pl/api/v1
- URLhttps://demo.sellasist.pl/api/v1/products_offers
- AuthAPI key in header apiKey
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 utworzone powiązanie.
Example response
{
"id": 1524,
"product_id": 123,
"variant_id": 7691,
"external_account_id": 10,
"account_id": 10,
"external_offer_id": "748392011",
"integration": "allegro"
}Changes
- breaking
the response property
became nullable for the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking