vend / developer-wiki

5 stars 0 forks source link

Add the ability to create outlets #1

Open pulkitsinghal opened 8 years ago

pulkitsinghal commented 8 years ago

Motivation

I want to be able to take a data dump and mimic customer environments for testing. This often requires populating similar products which requires populating similar taxes and outlets and such.

Requirement

It would be a good start to get a POST endpoint to create outlets so we can begin the journey to one day seamlessly copy a subset of customer account for testing in our vend subdomain before delivering solutions.

cc @ysg410 @szeber

ablears commented 8 years ago

Sounds great. Also could be used for staging/live environments.

pzurek commented 8 years ago

This is something we hear from time to time but it's a dangerous thing to open. Retailers on certain plans have no limit in the amount of allowed outlets/registers. Since they are getting billed on a per register basis, an integration creating a number of registers unintentionally could mean a huge unexpected bill. It's a dangerous situation. It's not to say that this is never going to happen, but there's more decisions to be made here than just committing resources to do the implementation. I'll keep this around to see how many people react with 👍.

pulkitsinghal commented 8 years ago

Is there room for middle ground:

pzurek commented 8 years ago

I was thinking in more general terms about a specific OAuth scope which would enable that. Apps requesting this scope could get a very strong warning. Of course, that means we have to implement scopes. :-)