@plentymarkets/shop-api / doAdditionalInformation
Function: doAdditionalInformation() ​
doAdditionalInformation(
context
,params
):Promise
<Data
<null
>>
Method doAdditionalInformation - Used to post additional information to an order.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: AdditionalInformationParams
orderContactWish: string | null, orderCustomerSign: string | null, shippingPrivacyHintAccepted: boolean, templateType: string
Returns ​
Promise
<Data
<null
>>
An empty object.
Remarks ​
- Calls /rest/storefront/order/additional_information
- Method should be used to post the addition informantion of an order.
Example ​
ts
await useSdk().plentysystems.doAdditionalInformation({
orderContactWish: null,
orderCustomerSign: null,
shippingPrivacyHintAccepted: true,
templateType: 'checkout'
});