You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using a retail server API to create a suspended Cart from our e-commerce website. all the required parameter's set on payload but we are getting staffid validation error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi Everyone ,
i am using a retail server API to create a suspended Cart from our e-commerce website. all the required parameter's set on payload but we are getting staffid validation error.
API: https://*************/RetailServer/Commerce/Carts .
Response : {
"TypeName": "DataValidationException",
"Exception": "{\r\n "ValidationResults": [\r\n {\r\n "ErrorResourceId": "RequiredAttribute_ValidationError",\r\n "LocalizedMessage": "",\r\n "LocalizedMessageParameters": null,\r\n "ErrorContext": null,\r\n "MemberNames": [\r\n "StaffId"\r\n ]\r\n }\r\n ],\r\n "ErrorResourceId": "Microsoft_Dynamics_Commerce_Runtime_AggregateValidationError",\r\n "LocalizedMessage": "A validation error occurred."\r\n}",
"CorrelationId": "fdd18aa1-8cf4-4ae8-b220-ec48bf1c2294"
}
i have define staff ID in the payload :
"CommissionSalesGroup": null,
"TrackingId": null,
"StaffId": "000025",
My question is that any different staff we need to open for online order or any special privilege need to define on staff?
Beta Was this translation helpful? Give feedback.
All reactions