instacrate / instacrate-api

1 stars 0 forks source link

Shipping Endpoint #59

Closed jasgan closed 7 years ago

jasgan commented 7 years ago

1) Could you create an endpoint for returning the shipping details for a specific shipping_id? e.g. /customers?type[]=shipping&id=19(shipping_id) 2) How do I update the shipping details for a specific shipping_id?

hhanesand commented 7 years ago

There's and endpoint for getting the shipping information at /shipping where you can post get modify and delete.

Is it in your postman?

jasgan commented 7 years ago

I only have "get/del/post" in Postman and no "patch".

jasgan commented 7 years ago

Also, is there a "DEL" for "Stripe" and "Orders"?

hhanesand commented 7 years ago

ok for shipping there should be an update

there is no del for stripe yet and neither from orders

jasgan commented 7 years ago

When I try updating shipping, I get an error:

{ "error": true, "message": "Page not found" }

hhanesand commented 7 years ago

its not implemented yet, will do soon

jasgan commented 7 years ago

Ok sounds good! And do you think you could prioritize GitHub Issue #55? I'd like to wrap up the vendor dashboard so I can start e-mailing vendors to register an account.

jasgan commented 7 years ago

When I try updating shipping it gives a duplicate entry error: { "error": true, "message": "Error execute(\"Duplicate entry \'76\' for key \'PRIMARY\'\")" }

I ran: http://{{SERVER}}/shipping/76?default=true

hhanesand commented 7 years ago

fixed