Query parameters

  • page string

    actual page

    Default value is 1.

  • pageSize string

    page's size

    Default value is 50.

  • status string

    sav's status 'En attente de validation' / 'Validé' / 'Colis envoyé' / 'Bloqué iCloud/Gmail' / 'Rejeté' / 'Résolu' / 'En cours de réparation chez le vendeur' / 'Annulé par l'acheteur' / 'Bloqué par code clavier' / 'Résolu par réparation' / 'Résolu par avoir' / 'Résolu par échange' / 'Validé, retour usine' / 'Réponse client nécessaire' / 'Réponse usine nécessaire' / 'Réponse Dipli nécessaire'

  • date of oldier RMA (format: yyyy-mm-dd)

  • date of oldier RMA update (format: yyyy-mm-dd)

Responses

GET /api/v2/savs
curl \
 -X GET https://bi.agora.place/api/v2/savs \
 -H "apikey: $API_KEY"
Response examples (200)
{
  "count": 42,
  "page": 42,
  "pageSize": 42,
  "result": [
    {
      "id": 1234567,
      "orderId": "A-123123",
      "status": "En attente de validation",
      "shipping_address_json": "{\"street\":\"a\",\"additionnal\":\"a\",\"postcode\":\"75000\",\"city\":\"a\",\"country\":\"FR\",\"firstname\":\"a\",\"lastname\":\"a\",\"company\":\"A\", \"type\":\"shipping\",\"email\":\"email@dipli.com\",\"telephone\":\"061111111111\",\"deliveryinfos\":null,\"ref\":null}",
      "product_infos": "{\"imei\": \"357773076405555\",\"price\": 16000,\"color\": \"Argent\",\"brand\": \"Samsung\",\"model\": \"Samsung Galaxy Tab S2 9.7\\\" VE 32 Go WIFI + 4G\",\"test\": \"USED\",\"technical_description\": [{\"name\": \"Go\",\"nameEn\": \"Go\",\"nameEs\": \"Go\",\"position\": 1,\"orderBy\": \"asc\",\"value\": \"32 Go\"},{\"name\": \"Wifi/Cellular\",\"nameEn\": \"Wifi/Cellular\",\"nameEs\": \"Wifi/Cellular\",\"position\": 4,\"orderBy\": \"asc\"}]}",
      "history": "a:1:{i:0;a:2:{s:6:\"status\";i:4;s:4:\"date\";s:19:\"05-06-2022 16:14:07\";}}",
      "description": "Audio : je n'entends pas correctement",
      "images": [
        "[\"link_to_first_image\", \"link_to_second_images\"]"
      ],
      "comments": [
        "[\"id\": 1234567, \"customerVisibility\": true, \"auteur\": \"Auteur\", \"commentaire\": \"Commentaire\", \"images\": [], \"updatedAt\": \"2022-06-05T16:14:07.000Z\", \"createdAt\": \"2022-06-05T16:14:07.000Z\",]"
      ]
    }
  ]
}
Response examples (200)
{
  "count": 42,
  "page": 42,
  "pageSize": 42,
  "result": [
    {
      "id": 1234567,
      "orderId": "A-123123",
      "status": "En attente de validation",
      "shipping_address_json": "{\"street\":\"a\",\"additionnal\":\"a\",\"postcode\":\"75000\",\"city\":\"a\",\"country\":\"FR\",\"firstname\":\"a\",\"lastname\":\"a\",\"company\":\"A\", \"type\":\"shipping\",\"email\":\"email@dipli.com\",\"telephone\":\"061111111111\",\"deliveryinfos\":null,\"ref\":null}",
      "product_infos": "{\"imei\": \"357773076405555\",\"price\": 16000,\"color\": \"Argent\",\"brand\": \"Samsung\",\"model\": \"Samsung Galaxy Tab S2 9.7\\\" VE 32 Go WIFI + 4G\",\"test\": \"USED\",\"technical_description\": [{\"name\": \"Go\",\"nameEn\": \"Go\",\"nameEs\": \"Go\",\"position\": 1,\"orderBy\": \"asc\",\"value\": \"32 Go\"},{\"name\": \"Wifi/Cellular\",\"nameEn\": \"Wifi/Cellular\",\"nameEs\": \"Wifi/Cellular\",\"position\": 4,\"orderBy\": \"asc\"}]}",
      "history": "a:1:{i:0;a:2:{s:6:\"status\";i:4;s:4:\"date\";s:19:\"05-06-2022 16:14:07\";}}",
      "description": "Audio : je n'entends pas correctement",
      "images": [
        "[\"link_to_first_image\", \"link_to_second_images\"]"
      ],
      "comments": [
        "[\"id\": 1234567, \"customerVisibility\": true, \"auteur\": \"Auteur\", \"commentaire\": \"Commentaire\", \"images\": [], \"updatedAt\": \"2022-06-05T16:14:07.000Z\", \"createdAt\": \"2022-06-05T16:14:07.000Z\",]"
      ]
    }
  ]
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (404)
{
  "code": 404,
  "msg": "Not Found"
}
Response examples (404)
{
  "code": 404,
  "msg": "Not Found"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}