@plentymarkets/shop-api / doAcceptOffer
Function: doAcceptOffer() ​
Parameters ​
• context: PlentysystemsIntegrationContext
• params: OfferSearchParams
Returns ​
Sales Order
Remarks ​
- Calls /rest/storefront/offers
- Method should be used to place an sales order from on offer.
Example ​
ts
const { data } = await useSdk().plentysystems.doAcceptOffer(params);