Field types

Field types

Boolean : true, false, 0 or 1

Float : will be rounded to the 4th decimal

Id : When specified in route, you have to use the ID from your own system. EveryParts will then store it in the field named ps_id. Only exception goes for the products where it is stored in the product_id field. For your own convenience, we will display both id (internal one) and ps_id (external one) when possible. If you have to input an ID (model_id, product_id, etc.) you have to use external IDs matching the one stored in your own system.

Translated : object containing at least 1 row with a language iso-code and a string value attached to it, as shown below.
    "name": {
        "fr": "my name translated in FR",
        "en": "my name translated in EN"
    },


    • Related Articles

    • Types

      Use Road:/api/types Protected:true Attributes id:integer meta_title:translation name:translation meta_description:translation active:boolean meta_keywords:translation description:translation type_id:integer url_rewrite:translation Roads Get / Returns ...
    • Types

      This menu clearly displays a list of equipment types with which the store customer will be able to refine their search. Example: Motorcycles, scooters or quads if your field of activity is two-wheelers, or rather slashers and microwaves if it is the ...
    • Group actions for types

      After selecting at least one of the listed types, the Group Actions menu appears to be side of multiple election shares. The various Group Actions available are as follows: Activate the election Disable the election Delete the election
    • Exporting to ElasticSearch

      Usage Route : /api/export Protected : true Endpoints GET / Export all your model/product associations to ElasticSearch. DELETE /delete Empty your ElasticSearch index. Warning : this operation is not reversible!
    • Rules of compatibility

      Use Road:/api/rules Protected:true Roads Get / Returns the list of existing compatibility rules Get /{id} Returns the details of the rule whose ID is {id} Get /specification/{id} Returns the list of rules containing model carcatetristics whose ID is ...