Changes between Version 2 and Version 3 of api_tienda


Ignore:
Timestamp:
Jan 21, 2013, 10:33:38 AM (11 years ago)
Author:
xabi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • api_tienda

    v2 v3  
    8787{{{
    8888{
    89   "apikey" => "xxxxxxxxxxxx",
    90   "action" => "createpedido",
    91   "comprador_id" => 1234,
    92   "direccion" => {
    93     "nombre" => "Xabier",
    94     "apellidos" => "Vázquez",
    95     "entidad" => "ecliente",
    96     "direccion1" => "calle 25",
    97     "ciudad" => "ciudad",
    98     "provincia" => "Madrid",
    99     "cp" => "28670",
    100     "pais" => "España"
     89  "apikey" : "xxxxxxxxxxxx",
     90  "action" : "createpedido",
     91  "comprador_id" : 1234,
     92  "direccion" : {
     93    "nombre" : "Xabier",
     94    "apellidos" : "Vázquez",
     95    "entidad" : "ecliente",
     96    "direccion1" : "calle 25",
     97    "ciudad" : "ciudad",
     98    "provincia" : "Madrid",
     99    "cp" : "28670",
     100    "pais" : "España"
    101101  },
    102   "productos" => [
    103     { "producto_id" => 1, "cantidad" => 1 },
    104     { "producto_id" => 2, "cantidad" => 1 }
     102  "productos" : [
     103    { "producto_id" : 1, "cantidad" : 1 },
     104    { "producto_id" : 2, "cantidad" : 1 }
    105105  ],
    106   "facturacion_nif"    => "H123456789",
    107   "metodo_pago"        => "DOMICILIACION",
    108   "cc_titular"         => "Alfonso Lopez",
    109   "cc"                 => "12341234121234567890",
    110   "facturar_a_entidad" => 1,
    111   "observaciones"      => "Creado via API"
     106  "facturacion_nif"    : "H123456789",
     107  "metodo_pago"        : "DOMICILIACION",
     108  "cc_titular"         : "Alfonso Lopez",
     109  "cc"                 : "12341234121234567890",
     110  "facturar_a_entidad" : 1,
     111  "observaciones"      : "Creado via API"
    112112}
    113113}}}
     
    168168{{{
    169169{
    170   "apikey"       => "xxxxxxxxxxxxxxxx",
    171   "action"       => 'getcompradorinfo',
    172   "comprador_id" => 1234
     170  "apikey"       : "xxxxxxxxxxxxxxxx",
     171  "action"       : 'getcompradorinfo',
     172  "comprador_id" : 1234
    173173}
    174174}}}