ordercloud-api / headstart

A complete and opinionated eCommerce solution using OrderCloud as the backbone - built with .NET Core and Angular
MIT License
31 stars 74 forks source link

Resolved buyerIncrementor id conflict with default buyer #427

Closed ajsuth closed 2 years ago

ajsuth commented 2 years ago

When creating an initial buyer after seeding, the buyerIncrementor creates a conflict id as the Default Buyer's ID is hard-coded to the initial value. The default buyer is also used to try and GET the buyer, so incrementing the LastNumber is the quickest and cleanest approach.