Setting `buyer_accepts_marketin` field using the Order API doesn't update Customer.accepts_marketing

Hey @Alan_19 , thanks very much for the quick response to this, we really appreciate that and how quickly you managed to issue a fix as well.

Sadly though, after thorough testing, it doesn’t appear the fix has resolved the issue.

Steps Tried:

  • Set the buyer_accepts_marketing flag on the Checkout object as False upon cart creation.
  • Once the payment was made and marked as successful, using the order_id, update the Order object using PUT, to update the buyer_accepts_marketing flag to True.
  • Tried using different API versions - 2022-01 (the current version we actively use), 2022-04, 2022-07 (release candidate) and unstable.

Debug information

For our latest run - with the X-Request-ID for the PUT call to update the buyer_accepts_marketing field on the Order object.

  • ‘X-Request-ID’: ‘32c89813-fe90-49a8-bc95-44ec34edc35f’
  • OrderId - 4507687256227
  • CheckoutToken - f67ec1dd0de1ad72a826d6e126078a49

Just for a bit of sanity checking really, on a separate test, I’ve also set the buyer_accepts_marketing flag to True on the Checkout object right before paying for the order, which does successfully set the Customer.accepts_marketing to True. But still doesn’t work if we do this on the Order object.

Please let me know if you need any more information to help resolve this.

Thanks,

James