Recording an order via api sets customer accepts_marketing to false

Shopify Partner
98 0 16


I recently noticed that if you record an order in Shopify via the api and specify a customer_id for the order the customers accepts marketing value will be set to false.

You can remedy this by passing order.buyer_accepts_marketing = true, however when no value is passed for buyer_accepts marketing it seems like the default behaviour should be to keep the customers current accepts marketing value and not always change it to false.

Thank You

1 Like
Shopify Partner
285 0 25

Wow, @Andrew93 !

Thanks so much for this hint - you saved me 1000 hours!!!

It's definitely something Shopify should fix.


Maris | Bulk Import Export Update Migrate |