Skip to content

Commit

Permalink
Merge pull request #831 from zeeshanbhati/bugfix/update-checkout-request
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear authored Jan 20, 2023
2 parents d031d7e + 26b73d1 commit 62f346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShopifySharp/Services/Checkout/CheckoutService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public virtual async Task<Checkout> UpdateAsync(string token, Checkout updatedCh
{
var req = PrepareRequest($"checkouts/{token}.json");

var response = await ExecuteRequestAsync<Checkout>(req, HttpMethod.Put, cancellationToken, new JsonContent(new { updatedCheckout }), "checkout");
var response = await ExecuteRequestAsync<Checkout>(req, HttpMethod.Put, cancellationToken, new JsonContent(new { checkout = updatedCheckout }), "checkout");
return response.Result;
}

Expand Down

0 comments on commit 62f346a

Please sign in to comment.