Home > @poq/sdk-sfcc > ExpressCheckoutService > placeOrder
Method places order.
Signature:
placeOrder(authInfo: AuthInfo, appIdentifier: string, poqUserId: string, platform: string, appId: string, customerId: string, currency: string, placeOrderRequest: PlaceApplePayOrderRequest, paymentMethodId?: string, shipmentId?: string): Promise<PoqResponse<PlaceOrderResponse>>;
Parameter | Type | Description |
---|---|---|
authInfo | AuthInfo | The auth info to make request (credentials or token). |
appIdentifier | string | The unique guid v4 app identifier. |
poqUserId | string | The unique identifier of the poq user. |
platform | string | Platform that initiate the operation (ios/android/web). |
appId | string | Salesforce app identifier. |
customerId | string | The customer id. |
currency | string | The ISO currency code is the three-letter alphabetic code that represent the various currencies used throughout the world. |
placeOrderRequest | PlaceApplePayOrderRequest | Information to place order. |
paymentMethodId | string | (Optional) Payment method identifier. |
shipmentId | string | (Optional) Identifier of shipping (target). |
Returns:
Promise<PoqResponse<PlaceOrderResponse>>
Information about placed order.