mattstein / snipcart-craft-plugin

A Craft plugin for browsing Snipcart API information from the Craft control panel.
MIT License
29 stars 5 forks source link

Customers #2

Open couellet opened 10 years ago

couellet commented 10 years ago

Hey,

We recently added some fields to our customers, we now track customers that are checking out as a guest and they have the "Unconfirmed" status, I thought it could be nice to have it in the plugin, we also added customers search in the dashboard.

If I have some free time, I will try to make a pull request to add those changes, meanwhile, I thought it will be nice to notice you guys if you want to implement it before me! :)

Our documentation is up to date at: http://docs.snipcart.com/api-reference/customers

Charles

mattstein commented 10 years ago

@couellet Thanks for mentioning this Charles! I'm a bit behind this week but I'd love to get this integrated as soon as I can.

mattstein commented 10 years ago

@couellet Is the documentation accurate when it shows that /api/customers can be limited by status even though the value isn't returned in the result?

The status may not have much use for my current client as a search parameter, but it'd be nice to visually indicate which customers are confirmed vs. unconfirmed even when they're all returned in one list.

couellet commented 10 years ago

I just updated the documentation. The status property will be available both on /api/customers and /api/customers/{id}