@plentymarkets/shop-api / doRejectOffer
Function: doRejectOffer() ​
doRejectOffer(
context
,params
):Promise
<Data
<GetOfferReject
>>
Parameters ​
• context: PlentysystemsIntegrationContext
• params: OfferSearchParams
Returns ​
Promise
<Data
<GetOfferReject
>>
string
Remarks ​
- Calls /rest/storefront/offers/reject
- Method should be used to reject an offer.
Example ​
ts
const { data } = await useSdk().plentysystems.doRejectOffer(params);