SFRA Server-side Javascript - Namespace: Order menu

SFRA / Server-side JS / Namespace: Order

Order

Methods

(static) Base/Order-Confirm()

Order-Confirm : This endpoint is invoked when the shopper's Order is Placed and Confirmed

Parameters:
Type Description
middleware

consentTracking.consent

middleware

server.middleware.https

middleware

csrfProtection.generateToken

querystringparameter

ID - Order ID

querystringparameter

token - token associated with the order

category

sensitive

serverfunction

get

Source:

(static) Base/Order-CreateAccount()

Order-CreateAccount : This endpoint is invoked when a shopper has already placed an Order as a guest and then tries to create an account

Parameters:
Type Description
middleware

server.middleware.https

middleware

csrfProtection.validateAjaxRequest

querystringparameter

ID: Order ID

httpparameter

dwfrm_newPasswords_newpassword - Password

httpparameter

dwfrm_newPasswords_newpasswordconfirm - Conform Password

httpparameter

csrf_token - CSRF token

category

sensitive

serverfunction

post

Source:

(static) Base/Order-Details()

Order-Details : This endpoint is called to get Order Details

Parameters:
Type Description
middleware

consentTracking.consent

middleware

server.middleware.https

middleware

userLoggedIn.validateLoggedIn

querystringparameter

orderID - Order ID

querystringparameter

orderFilter - Order Filter ID

category

sensitive

serverfunction

get

Source:

(static) Base/Order-Filtered()

Order-Filtered : This endpoint filters the Orders shown on the Order History Page

Parameters:
Type Description
middleware

server.middleware.https

middleware

consentTracking.consent

middleware

userLoggedIn.validateLoggedInAjax

querystringparameter

orderFilter - Order Filter ID

category

sensitive

serverfunction

get

Source:

(static) Base/Order-History()

Order-History : This endpoint is invoked to get Order History for the logged in shopper

Parameters:
Type Description
middleware

consentTracking.consent

middleware

server.middleware.https

middleware

userLoggedIn.validateLoggedIn

category

sensitive

serverfunction

get

Source:

(static) Base/Order-Track()

Order-Track : This endpoint is used to track a placed Order

Parameters:
Type Description
middleware

consentTracking.consent

middleware

server.middleware.https

middleware

csrfProtection.validateRequest

middleware

csrfProtection.generateToken

querystringparameter

trackOrderNumber - Order Number to track

querystringparameter

trackOrderEmail - Email on the Order to track

querystringparameter

trackOrderPostal - Postal Code on the Order to track

querystringparameter

csrf_token - CSRF token

querystringparameter

submit - This is to submit the form

category

sensitive

serverfunction

post

Source: