//[OrderCloudWebhookAuth] TODO: Add this back in once platform fixes header issue public async Task <OrderSubmitResponse> HandleOrderSubmit([FromBody] HSOrderCalculatePayload payload) { var response = await _postSubmitCommand.HandleBuyerOrderSubmit(payload.OrderWorksheet); return(response); }
public async Task <OrderSubmitResponse> ManuallyRunPostOrderSubmit(string orderID) { var worksheet = await _oc.IntegrationEvents.GetWorksheetAsync <HSOrderWorksheet>(OrderDirection.Incoming, orderID); return(await _postSubmitCommand.HandleBuyerOrderSubmit(worksheet)); }