Skip to content

Commit

Permalink
Merge pull request #885 from eldhosekp/master
Browse files Browse the repository at this point in the history
FulfillmentRequestService - Corrected api request field name
  • Loading branch information
nozzlegear committed May 31, 2023
2 parents 6472e97 + 916e283 commit 449ab71
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public virtual async Task<FulfillmentOrder> CreateAsync(long fulfillmentOrderId,

var content = new JsonContent(new
{
fulfillment_service = body
fulfillment_request = body
});

var response = await ExecuteRequestAsync<FulfillmentOrder>(req, HttpMethod.Post, cancellationToken, content, "original_fulfillment_order");
Expand All @@ -39,7 +39,7 @@ public virtual async Task<FulfillmentOrder> AcceptAsync(long fulfillmentOrderId,

var content = new JsonContent(new
{
fulfillment_service = body
fulfillment_request = body
});

var response = await ExecuteRequestAsync<FulfillmentOrder>(req, HttpMethod.Post, cancellationToken, content, "fulfillment_order");
Expand All @@ -54,7 +54,7 @@ public virtual async Task<FulfillmentOrder> RejectAsync(long fulfillmentOrderId,

var content = new JsonContent(new
{
fulfillment_service = body
fulfillment_request = body
});

var response = await ExecuteRequestAsync<FulfillmentOrder>(req, HttpMethod.Post, cancellationToken, content, "fulfillment_order");
Expand Down

0 comments on commit 449ab71

Please sign in to comment.