Body Required

Responses

  • create an order for dropship partner

    Hide response attributes Show response attributes object
  • Bad request

    Hide response attributes Show response attributes object
  • Internal server error

    Hide response attributes Show response attributes object
POST /api-drop/v2/orders
curl \
 -X POST https://bi.agora.place/api-drop/v2/orders \
 -H "apikey: $API_KEY" \
 -d '{"alternative_id":"string","product_id":42,"buyer":"string","street":"string","additional_street":"string","postcode":"string","city":"string","country":"string","buyer_phone":"string","buyer_email":"string","extra":"string"}'
Request example
{
  "alternative_id": "string",
  "product_id": 42,
  "buyer": "string",
  "street": "string",
  "additional_street": "string",
  "postcode": "string",
  "city": "string",
  "country": "string",
  "buyer_phone": "string",
  "buyer_email": "string",
  "extra": "string"
}
Request examples
{
  "alternative_id": "string",
  "product_id": 42,
  "buyer": "string",
  "street": "string",
  "additional_street": "string",
  "postcode": "string",
  "city": "string",
  "country": "string",
  "buyer_phone": "string",
  "buyer_email": "string",
  "extra": "string"
}
Response examples (200)
{
  "code": 200,
  "msg": "Success",
  "public_id": "A-12345"
}
Response examples (200)
{
  "code": 200,
  "msg": "Success",
  "public_id": "A-12345"
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}