1.0.0
OAS 3.0.3

Tracely API Documentation

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More
Authentication
Bearer Authentication (default)

Book Elements

Sell Book Element

Path Parameters
  • bookId
    required
    integer
  • bookElementId
    required
    integer
Body
application/json
selling_date
required
string
Example2024-03-29
selling_price
required
string
Example100.00
selling_payment_method
required
string enum
Examplecash
  • cash
  • transfer
  • check
  • card
buyer_third_party_id
required
integer
Example9
Responses
  • 200
  • 404
  • 422
PUT/books/{bookId}/books-elements/{bookElementId}/object
Shell cURL
{
  "book_element_id": 21,
  "created_at": "2024-03-31T20:20:44.000000Z",
  "description": "Lunettes monture noire en titane",
  "dimensions": {
    "unit": "mm",
    "width": "120",
    "height": "40",
    "length": "100"
  },
  "distinguishing_signs": null,
  "name": "Lunette Rayban 200",
  "note": null,
  "nature": "Lunettes",
  "order_number": "2024-BOVAI",
  "photo": "/local/book_elements/tenant-demo/VrlyOXlA2ELN0ssMBIM9obyzxL9wIYxMtYCGbrdR.jpeg",
  "purchase": {
    "seller": {
      "id": 1,
      "name": "Philippe Marion",
      "address_1": "9, avenue Laurence Vallet",
      "address_2": null,
      "city": "Lille",
      "zip": "59000",
      "country": "FR",
      "identity": {
        "type": "driver_license",
        "issuer": "FR",
        "number": 107968181,
        "issue_date": "2019-05-05"
      },
      "company": "Bertrand et Fils",
      "siret": "531 153 781 32833",
      "as": "CEO",
      "created_at": "2024-03-31T11:44:17.000000Z"
    },
    "purchase_date": "2024-03-30T23:00:00.000000Z",
    "purchase_price": "50.00",
    "payment_method": "card"
  },
  "selling": {
    "buyer": {
      "id": 3,
      "name": "Roland Petitjean",
      "address_1": "43, avenue de Lefebvre",
      "address_2": null,
      "city": "Lille",
      "zip": "59000",
      "country": "FR",
      "identity": {
        "type": "identity_card",
        "issuer": "FR",
        "number": 193536831,
        "issue_date": "2018-07-11"
      },
      "company": null,
      "siret": null,
      "as": "CTO",
      "created_at": "2024-03-31T11:44:17.000000Z"
    },
    "date": "2024-03-30T23:00:00.000000Z",
    "price": "200",
    "payment_method": "card"
  },
  "style": "Aviateur",
  "updated_at": "2024-03-31T20:35:14.000000Z"
}

Books

Facilities

Third Parties

Users