Vous êtes sur la page 1sur 3

Get token

curl -i -X GET http://127.0.0.1:3000/v1.0/bekko/tokens?keep=true -H "Authorizati


on: Basic YmVuaTUyMkBnbWFpbC5jb206Z2VuZXNpczc5Nw=="
curl -i -X GET http://127.0.0.1:3000/v1.0/bekko.next-cloud.mx/tokens/auth -H "Au
thorization: Basic YmVuaTUyMkBnbWFpbC5jb206Z2VuZXNpczc5Nw=="
curl -i -H "Authorization: Bearer Z2VuZXNpczc5Nw==" http://127.0.0.1:3000/v1.0/b
ekko/tokens/auth
PUT password
curl -i -X PUT http://127.0.0.1:3000/v1.0/easy-shop/users/me?token=ffdb6eb0-8655
-4e0e-9d68-cdb026c6ed6d -H "Content-Type: application/json" -d '{"previous_passw
ord":"genesis797","password":""}'
GET order-detail
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/orders/8589?token=ffdb6eb0-8
655-4e0e-9d68-cdb026c6ed6d
GET product
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/products/DART-01
curl -i -X GET http://127.0.0.1:3000/v1.0/bekko/products/28-1314NG-P-NGO
GET user by id
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/users/me?token=79ed8cf1-a872
-4363-9d0d-b1ea36285e20
PUT update information
curl -i -X PUT http://127.0.0.1:3000/v1.0/easy-shop/users/me?token=ffdb6eb0-8655
-4e0e-9d68-cdb026c6ed6d -H "Content-Type: application/json" -d '{"name":"Ebeneze
r","lastname":"Pool Castillo","birthdate":"2014-02-03","gender":"F","email":"ben
i522@gmail.com"}'
GET orders range
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/orders/?since=2014-01-07&to
=2014-08-05&token=18b753cd-3853-4d48-a79b-254e0dbdbb2a"
GET order detail
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/orders/9541/?token=18b753cd
-3853-4d48-a79b-254e0dbdbb2a"
GET user-points
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/users/me/points?token=79ed8
cf1-a872-4363-9d0d-b1ea36285e20"
GET user-newsletter by email
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/newsletter/subscription/?em
ail=beni522@gmail.com"
GET user-newsletter by subscription_id
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/newsletter/subscription/235
"
DELETE Unsubscribe newsletter
curl -i -X DELETE "http://127.0.0.1:3000/v1.0/easy-shop/newsletter/subscription/
235"

POST Subscription news-letter


curl -i -X POST http://127.0.0.1:3000/v1.0/easy-shop/newsletter/subscription/ -H
"Content-Type: application/json" -d '{"email":"beni522@gmail.com"}'
GET banks by folio_id
curl -i -X GET "http://127.0.0.1:3000/v1.0/easy-shop/payments/bank-deposit/?for_
order=9286"
POST make purchase
curl -i -X POST http://127.0.0.1:3000/v1.0/bekko/orders/?token=e4eefb14-2fd4-4b0
e-90a6-fa514d7e2b2e -H "Content-Type: application/json" -d '{"items": {"product"
: {"sku": "28-1414NG-NGO","quantity": "9"}}, "payment_method": "DPSTO"}'
curl -i -X GET http://api.ecommerce.next-cloud.mx/v1.0/bekko.next-cloud.mx/token
s/auth?keep=true -H "Authorization: Basic YmVuaTUyMkBnbWFpbC5jb206Z2VuZXNpczc5Nw
=="
curl -i -X POST http://127.0.0.1:3000/v1.0/bekko.next-cloud.mx/orders/?token=db6
de692-ee52-4bb5-9daf-a54bc6841c20 -H "Content-Type: application/json" -d '{"item
s": {"product": {"sku": "01-001-NAR","quantity": "9"}}, "payment_method": "DPSTO
"}'
curl -i -X POST http://api.ecommerce.next-cloud.mx/v1.0/bekko.next-cloud.mx/orde
rs/?token=b89347a2-666d-4769-8fb6-24c485416b52 -H "Content-Type: application/jso
n" -d '{"items": {"product": {"sku": "28-7817BC-BCO","quantity": "9"}}, "payment
_method": "DPSTO"}'
GET banner
curl -i -X GET http://127.0.0.1:3000/v1.0/aeromexico/banners/home
start soler 4
java -Dsolr.solr.home=/vagrant/solr/home -jar start.jar
start soler 5
bin/solr start -Dsolr.solr.home=/vagrant/solr/home -p 8983
bin/solr stop -p 8983
bin/solr restart -Dsolr.solr.home=/vagrant/solr/home -p 8983
En solr5, en el archivo schema.xml buscar el name long y sustituir por sta lnea
(longfield est eliminada en esta versin):
<fieldType name="long" class="solr.TrieLongField" />
Y en el archivo solrconfig.xml eliminar ya que no es necesario la lnea
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandler
s" />
get properties store
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/store
get by zipcode
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/geo/zipcodes/11320
delete cach redis
curl -i -X DELETE http://127.0.0.1:3000/v1.0/easy-shop/cache
curl -i -X DELETE http://127.0.0.1:3000/v1.0/aeromexico/cache
curl -i -X DELETE http://127.0.0.1:3000/v1.0/megacable/cache
get products related
curl -i -X GET http://127.0.0.1:3000/v1.0/easy-shop/products/WAXV-01/related
curl -i -X GET http://127.0.0.1:3000/v1.0/aeromexico/products/1249553
curl -i -X GET http://172.30.20.26:8000/v1.0/aeromexico/products

curl -i -X DELETE http://172.30.20.26:8000/v1.0/aeromexico/cache


curl -i -X GET http://127.0.0.1:3000/v1.0/aeromexico/products/2528401/related
Delete cache from api production
curl -i -X DELETE http://api.ecommerce.next-cloud.mx/v1.0/aeromexico.next-cloud.
mx/cache

Vous aimerez peut-être aussi