### Get Product Details (JSON Response Sample) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for retrieving product details. It includes information such as ID, label, article number, creation/update timestamps, size, barcodes, and image URLs. This response is typically received when making a GET request to a product endpoint. ```json [ { "id": 6694, "global_id": null, "label": "Футболка", "articul": "futbolka1232", "created_at": "2023-07-13 18:23:38", "updated_at": "2023-07-13 18:23:38", "size": "43", "barcodes": [ { "id": 6203, "code": "futbolka23111", "products_id": 6694, "action": "1", "created_user_id": 3, "created_datetime": "2023-07-13 18:23:38", "deleted_at": null } ], "images": [ { "id": 697101, "products_id": 6694, "url": "files/product_images/6694/$2y$10$HgT64BtOI8byFVu.6aZLOrPH8ZrSKWwt0U2DNP6lkvwiBwLpZR8i.png", "sort": "1", "action": "1", "created_user_id": 3, "created_at": "2024-08-30T12:50:20.000000Z", "updated_at": "2024-08-30T12:50:20.000000Z" } ] } ] ``` -------------------------------- ### Get Products Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for retrieving a list of products. The 'data' field contains an array of product objects, which may be empty. ```json [ { "data": [ { } ] } ] ``` -------------------------------- ### Get User Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for retrieving user details. It includes the user's ID, surname, and name. ```json [ { "id": 1, "surname": "Тестов", "name": "Тест" } ] ``` -------------------------------- ### Get Product Stocks Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for retrieving stock information for a product. The 'data' field is an array that can contain stock details or be empty. ```json [ { "data": [ ] } ] ``` -------------------------------- ### Get All Warehouses (GET) Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of all available warehouses. Optionally accepts a type_id to filter warehouses by type (1 for client, 2 for fulfillment). Returns a list of warehouse objects. ```http GET /api/v3/warehouses?type_id=2 Host: ff-485.raxs.ru ``` -------------------------------- ### View Documents (GET) Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of documents. This endpoint is currently a placeholder and may not return specific document data. ```http GET /api/v3/documents Host: ff-485.raxs.ru ``` -------------------------------- ### Get Product Weight and Dimensions Source: https://my.raxs.ru/api-docs/v3/index Retrieves the weight and dimensional characteristics of a specific product. ```APIDOC ## Просмотр Весогабаритных характеристик товара ### Description Retrieves the weight, length, width, height, and volume information for a given product. ### Method GET ### Endpoint /products/wdc ### Parameters #### Query Parameters - **product_id** (integer) - Required - The unique identifier of the product. ### Response #### Success Response (200) - **weight** (object) - Contains 'in' and 'out' values for weight. - **length** (object) - Contains 'in' and 'out' values for length. - **width** (object) - Contains 'in' and 'out' values for width. - **height** (object) - Contains 'in' and 'out' values for height. - **volume** (object) - Contains 'in' and 'out' values for volume. ### Response Example ```json { "weight": { "in": "1", "out": "2" }, "length": { "in": "3", "out": "4" }, "width": { "in": "5", "out": "6" }, "height": { "in": "7", "out": "8" }, "volume": { "in": "0.000105", "out": "0.000192" } } ``` ``` -------------------------------- ### GET /api/v3/selections Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of product selection orders. Used for viewing pending or active selections. ```APIDOC ## GET /api/v3/selections ### Description Retrieves a list of product selection orders. Used for viewing pending or active selections. ### Method GET ### Endpoint /api/v3/selections ### Response #### Success Response (200) - A list of product selection orders (structure not specified in the provided text). #### Response Example ``` Список заявок ``` ``` -------------------------------- ### GET /api/v3/warehouses Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of all warehouses. Allows filtering by warehouse type. ```APIDOC ## GET /api/v3/warehouses ### Description Retrieves a list of all warehouses. Allows filtering by warehouse type. ### Method GET ### Endpoint /api/v3/warehouses ### Parameters #### Query Parameters - **type_id** (integer) - Optional - Filters warehouses by type. Use 1 for client warehouses and 2 for fulfillment warehouses. ### Response #### Success Response (200) - **id** (integer) - The unique identifier of the warehouse. - **type_id** (integer) - The type of the warehouse (1 for client, 2 for fulfillment). - **name** (string) - The name of the warehouse. - **address** (string) - The address of the warehouse. - **phone** (string) - The contact phone number for the warehouse. - **description** (string) - Additional description for the warehouse. - **is_open_for_supply** (integer) - Indicates if the warehouse is open for supply (1 for yes, 0 for no). - **is_open_for_shipment** (integer) - Indicates if the warehouse is open for shipment (1 for yes, 0 for no). - **is_active** (integer) - Indicates if the warehouse is active (1 for yes, 0 for no). #### Response Example ```json [ { "id": 156, "type_id": 2, "name": "Склад ООО ОнМедиа", "address": "г Москва, ул Кремль", "phone": "+7 (926)-916-66-92", "description": "", "is_open_for_supply": 1, "is_open_for_shipment": 1, "is_active": 1 } ] ``` ``` -------------------------------- ### Get Product Weight/Dimensions Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This JSON sample shows the response for retrieving a product's weight and dimensional characteristics. It includes 'in' and 'out' values for weight, length, width, height, and volume. This data is useful for logistics and shipping calculations. ```json [ { "weight": { "in": "1", "out": "2" }, "length": { "in": "3", "out": "4" }, "width": { "in": "5", "out": "6" }, "height": { "in": "7", "out": "8" }, "volume": { "in": "0.000105", "out": "0.000192" } } ] ``` -------------------------------- ### Get User Company Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for retrieving a user's company information. It includes company details like ID, names, tax information, and address. ```json [ { "id": 1, "short_name": "ООО \"ОНМЕДИА\"", "full_name": "ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ \"ОНМЕДИА\"", "inn": "7722472580", "kpp": "772201001", "ogrn": "2311232", "ogrnip": "532234", "address": "109316, город Москва, Волгоградский пр-кт, д. 45 стр. 1, помещ. 1н/3", "phone": null, "email": "example@mail.com" } ] ``` -------------------------------- ### GET /selections/show Source: https://my.raxs.ru/api-docs/v3/index Retrieves detailed information about a specific order selection. This endpoint allows you to view the status, associated partner details, and tasks related to an order. ```APIDOC ## GET /selections/show ### Description Retrieves detailed information about a specific order selection, including partner details and associated tasks. ### Method GET ### Endpoint /api/v3/selections/show ### Parameters #### Path Parameters - **order_id** (integer) - Required - ID of the order selection to retrieve. ### Request Example ``` GET /api/v3/selections/show?order_id=90691 ``` ### Response #### Success Response (200) - **partner_id** (integer) - The ID of the partner associated with the order. - **order_id** (integer) - The ID of the order. - **total** (integer) - The total count related to the order. - **completed_count_sum** (integer) - The sum of completed counts for the order. - **partner_name** (string) - The name of the partner. - **order** (object) - An object containing detailed information about the order. - **id** (integer) - The order's unique identifier. - **partner_id** (integer) - The ID of the partner for this order. - **created_user_id** (integer) - The ID of the user who created the order. - **type_id** (integer) - The type ID of the order. - **delivery_date** (string) - The planned delivery date. - **delivery_time** (string|null) - The planned delivery time. - **pallets** (integer) - Number of pallets for the order. - **boxes** (integer) - Number of boxes for the order. - **delivery_type_id** (integer|null) - The delivery type ID. - **filled_template** (string|null) - Information about the filled template. - **warehouse_id** (integer) - The ID of the warehouse. - **status_id** (integer) - The current status ID of the order. - **cancel_reason** (string|null) - Reason for order cancellation. - **comment** (string|null) - Additional comments for the order. - **created_at** (string) - Timestamp when the order was created. - **updated_at** (string) - Timestamp when the order was last updated. - **docs_id** (integer) - The ID of the associated documents. - **total_invoice_id** (integer|null) - The ID of the total invoice. - **total_akt_id** (integer|null) - The ID of the total AKT. - **contract_id** (integer) - The ID of the contract. - **out_warehouse_id** (integer) - The ID of the outgoing warehouse. - **application_mp** (string|null) - Marketplace application information. - **mp_warehouse_id** (integer|null) - The ID of the marketplace warehouse. - **parent_id** (integer|null) - The parent order ID. - **order_files** (array|null) - List of files associated with the order. - **pallet_files** (array|null) - List of pallet files. - **is_preparation** (integer) - Indicates if the order is in preparation. - **city_id** (integer|null) - The ID of the city. - **order_preparation_type_id** (integer|null) - The order preparation type ID. - **comment_ff** (string|null) - Fulfillment center comment. - **city** (string|null) - The city name. - **fulfillment_id** (integer) - The fulfillment center ID. - **out_warehouse_unit_id** (integer|null) - The ID of the outgoing warehouse unit. - **car_id** (integer|null) - The ID of the car. - **warehouse_old_id** (integer|null) - The old warehouse ID. - **marketplace_id** (integer|null) - The marketplace ID. - **sdek_uuid** (string) - SDEK UUID. - **sdek_job_id** (integer|null) - SDEK job ID. - **loader_count** (integer|null) - Number of loaders. - **tasks** (array) - A list of tasks associated with the order. - **id** (integer) - Task ID. - **groups_types_join_id** (integer) - Join ID for group types. - **order_id** (integer) - Order ID for the task. - **fulfillment_id** (integer) - Fulfillment ID for the task. - **created_partner_id** (integer) - Partner ID who created the task. - **created_user_id** (integer) - User ID who created the task. - **executor_partner_id** (integer) - Partner ID who is executing the task. - **executor_user_id** (integer|null) - User ID who is executing the task. - **status_id** (integer) - Status ID of the task. - **finish_datetime** (string|null) - Timestamp when the task was finished. - **created_at** (string) - Timestamp when the task was created. - **updated_at** (string) - Timestamp when the task was last updated. - **deleted_at** (string|null) - Timestamp when the task was deleted. - **finish_datetime_tsd** (string|null) - Task finish datetime in TSD format. - **task_custom_status_id** (integer|null) - Custom status ID for the task. - **deadline_datetime** (string|null) - Deadline for the task. - **start_datetime** (string|null) - Timestamp when the task started. - **partner** (object) - An object containing detailed information about the partner. - **id** (integer) - Partner's unique identifier. - **short_name** (string) - Partner's short name. - **full_name** (string) - Partner's full name. - **inn** (string) - Partner's INN. - **kpp** (integer) - Partner's KPP. - **ogrn** (string|null) - Partner's OGRN. - **ogrnip** (string|null) - Partner's OGRNIP. - **address** (string) - Partner's address. - **mailing_address** (string|null) - Partner's mailing address. - **phone** (string|null) - Partner's phone number. - **email** (string|null) - Partner's email address. - **created_at** (string) - Timestamp when the partner was created. - **updated_at** (string) - Timestamp when the partner was last updated. - **deleted_at** (string|null) - Timestamp when the partner was deleted. - **tax_type_id** (integer) - The tax type ID for the partner. - **docs_prefix** (string) - Document prefix for the partner. - **stamp_image** (string) - Base64 encoded image of the partner's stamp. - **logo_image** (string|null) - Base64 encoded image of the partner's logo. - **doc_signatory_fullname** (string) - Full name of the document signatory. - **doc_signatory_fullname_2** (string) - Alternative full name of the document signatory. - **doc_signatory_fullname_genitive** (string|null) - Full name of the document signatory in genitive case. - **doc_signatory_position** (string) - Position of the document signatory. - **doc_signatory_position_genitive** (string|null) - Position of the document signatory in genitive case. - **doc_signatory_based** (string) - Basis for the signatory's authority. - **legal** (string|null) - Legal information about the partner. - **kbe** (string|null) - KBE value for the partner. - **is_dropshipping_contractor** (integer|null) - Indicates if the partner is a dropshipping contractor. - **disabled_orders** (integer) - Number of disabled orders for the partner. - **catalog_id** (integer|null) - The ID of the partner's catalog. #### Response Example ```json { "partner_id": 2, "order_id": 90691, "total": 3, "completed_count_sum": 0, "partner_name": "ООО \"ОНМЕДИА ГРУПП\"", "order": { "id": 697101, "partner_id": 2, "created_user_id": 3, "type_id": 2, "delivery_date": "2025-11-28", "delivery_time": null, "pallets": 0, "boxes": 0, "delivery_type_id": null, "filled_template": null, "warehouse_id": 365, "status_id": 7, "cancel_reason": null, "comment": null, "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:55:22.000000Z", "docs_id": 169666, "total_invoice_id": null, "total_akt_id": null, "contract_id": 86, "out_warehouse_id": 1030, "application_mp": null, "mp_warehouse_id": null, "parent_id": null, "order_files": null, "pallet_files": null, "is_preparation": 0, "city_id": null, "order_preparation_type_id": null, "comment_ff": null, "city": null, "fulfillment_id": 740, "out_warehouse_unit_id": null, "car_id": null, "warehouse_old_id": null, "marketplace_id": null, "sdek_uuid": "", "sdek_job_id": null, "loader_count": null, "tasks": [ { "id": 225897, "groups_types_join_id": 7, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": 1199, "status_id": 1, "finish_datetime": "2025-11-28 10:55:28", "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:55:28.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null }, { "id": 225898, "groups_types_join_id": 35, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": null, "status_id": 1, "finish_datetime": null, "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:54:19.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null }, { "id": 225899, "groups_types_join_id": 8, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": 1199, "status_id": 2, "finish_datetime": null, "created_at": "2025-11-28T07:55:28.000000Z", "updated_at": "2025-11-28T07:55:28.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null } ] }, "partner": { "id": 2, "short_name": "ООО \"ОНМЕДИА ГРУПП\"", "full_name": "ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ \"ОНМЕДИА ГРУПП\"", "inn": "7725736440", "kpp": 772501001, "ogrn": null, "ogrnip": null, "address": "г Москва, ул Ленинская Слобода, д 9, помещ 1", "mailing_address": null, "phone": null, "email": null, "created_at": "2023-05-22T20:14:12.000000Z", "updated_at": "2025-09-29T11:34:32.000000Z", "deleted_at": null, "tax_type_id": 1, "docs_prefix": "", "stamp_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAw8AAAIUCAYAAABcuhA6AAAACXBIWXMAAC4jAAAuIwF4pT92AAXt.....", "logo_image": null, "doc_signatory_fullname": "Хаскель Дмитрий Сергеевич", "doc_signatory_fullname_2": "Хаскелем Дмитрием Сергеевичем", "doc_signatory_fullname_genitive": null, "doc_signatory_position": "Генеральный директор1", "doc_signatory_position_genitive": null, "doc_signatory_based": "Устава", "legal": null, "kbe": null, "is_dropshipping_contractor": null, "disabled_orders": 0, "catalog_id": null } } ``` ``` -------------------------------- ### GET /api/v3/documents Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of documents. This endpoint is used for viewing available documents. ```APIDOC ## GET /api/v3/documents ### Description Retrieves a list of documents. This endpoint is used for viewing available documents. ### Method GET ### Endpoint /api/v3/documents ### Response #### Success Response (200) - Details about the documents (structure not specified in the provided text). #### Response Example ``` Товар добавлен ``` ``` -------------------------------- ### View Selection Orders (GET) Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of orders for selection. This endpoint is used to view pending or active selection requests. ```http GET /api/v3/selections Host: ff-485.raxs.ru ``` -------------------------------- ### GET /selections/show Endpoint (API) Source: https://my.raxs.ru/api-docs/v3/index This endpoint retrieves information about a selection. It requires an 'order_id' as a path parameter. The response for a successful request (HTTP 200) provides details about the selection. ```http GET /api/v3/selections/show?order_id={order_id} ``` -------------------------------- ### Register User Request Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON payload for registering a new user. It includes the user's name, email, and password. ```json { "name": "Иван", "email": "user@example.com", "password": "password123" } ``` -------------------------------- ### POST /api/v3/warehouses/create Source: https://my.raxs.ru/api-docs/v3/index Creates a new warehouse. Requires warehouse details such as type, name, and address. ```APIDOC ## POST /api/v3/warehouses/create ### Description Creates a new warehouse. Requires warehouse details such as type, name, and address. ### Method POST ### Endpoint /api/v3/warehouses/create ### Parameters #### Request Body - **type_id** (integer) - Required - The type of the warehouse (1 for client, 2 for fulfillment). - **name** (string) - Required - The name of the new warehouse. - **address** (string) - Required - The address of the new warehouse. - **phone** (string) - Optional - The contact phone number for the warehouse. - **description** (string) - Optional - Additional description for the warehouse. ### Response #### Success Response (200) - **id** (integer) - The unique identifier of the newly created warehouse. - **type_id** (integer) - The type of the warehouse. - **name** (string) - The name of the warehouse. - **address** (string) - The address of the warehouse. - **phone** (string) - The contact phone number for the warehouse. - **description** (string) - Additional description for the warehouse. - **is_open_for_supply** (integer) - Indicates if the warehouse is open for supply. - **is_open_for_shipment** (integer) - Indicates if the warehouse is open for shipment. - **is_active** (integer) - Indicates if the warehouse is active. #### Response Example ```json [ { "id": 156, "type_id": 2, "name": "Склад ООО ОнМедиа", "address": "г Москва, ул Кремль", "phone": "+7 (926)-916-66-92", "description": "", "is_open_for_supply": 1, "is_open_for_shipment": 1, "is_active": 1 } ] ``` ``` -------------------------------- ### Register User Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response indicating successful user registration. It includes a success flag and a warehouse ID. ```json [ { "success": true, "warehouse": 41 } ] ``` -------------------------------- ### Create Product Request Schema (JSON) Source: https://my.raxs.ru/api-docs/v3/index This outlines the schema for creating a new product. It requires name, brand, and article, and accepts an array of barcodes and an images object. ```json { "name": "integer", "brand": "integer", "articul": "integer", "barcode": "Array of arrays", "images": "object" } ``` -------------------------------- ### Move Product Response Sample (JSON) Source: https://my.raxs.ru/api-docs/v3/index This is a sample JSON response for a product movement operation. It indicates if an error occurred and provides an error message if applicable. ```json [ { "error": true, "message": [ "В юните CHEM-G в состоянии Ликвидный на остатках 0шт Вы перемещаете 17" ] } ] ``` -------------------------------- ### GET /api/v3/chats Source: https://my.raxs.ru/api-docs/v3/index Retrieves a list of all users available for sending messages. This endpoint is useful for populating user selection lists in a chat interface. ```APIDOC ## GET /api/v3/chats ### Description Retrieves a list of all users available for sending messages. This endpoint is useful for populating user selection lists in a chat interface. ### Method GET ### Endpoint https://ff-485.raxs.ru/api/v3/chats ### Response #### Success Response (200) - **id** (integer) - Unique identifier for the user - **surname** (string) - User's surname - **name** (string) - User's first name - **lastname** (string) - User's middle name - **email** (string) - User's email address - **phone** (string) - User's phone number ### Response Example ```json [ { "id": 1338, "surname": "Петров", "name": "Петр", "lastname": "Сергеевич", "email": "peter_jw@mail.ru", "phone": "+7 (917) 232-28-22" } ] ``` ``` -------------------------------- ### Response Sample for Selections Source: https://my.raxs.ru/api-docs/v3/index This JSON sample illustrates the structure of a successful response when retrieving selection data. It includes unit details and a list of items with their associated product information and completion status. ```json [ { "unit_id": 568, "unit_code": "BZ-1", "items": [ { "id": 52, "count": 2, "unit_id": 2170, "to_unit_id": 7888, "product_id": 233851, "product_label": "кроссовки-найк-проверка", "barcode": "naike-test-233851", "unit_code": "BZ-1", "to_unit_code": "C-000001", "completed_at": null } ] } ] ``` -------------------------------- ### User Registration Source: https://my.raxs.ru/api-docs/v3/index Registers a new user with the provided name, email, and password. ```APIDOC ## POST /api/v3/register ### Description Registers a new user with the provided name, email, and password. ### Method POST ### Endpoint https://ff-485.raxs.ru/api/v3/register ### Parameters #### Request Body - **name** (string) - Required - Имя пользователя - **email** (string) - Required - Email - **password** (string) - Required - Пароль ### Request Example ```json { "name": "Иван", "email": "user@example.com", "password": "password123" } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the registration was successful. - **warehouse** (integer) - The ID of the warehouse associated with the new user. #### Response Example ```json [ { "success": true, "warehouse": 41 } ] ``` ``` -------------------------------- ### Get All Users for Chat API Source: https://my.raxs.ru/api-docs/v3/index This endpoint retrieves a list of all users available for chat. The response contains user details such as ID, name, surname, and contact information. ```http GET /api/v3/chats https://ff-485.raxs.ru/api/v3/chats ``` -------------------------------- ### User Registration API Source: https://my.raxs.ru/api-docs/v3/index Allows for the registration of a new user and the retrieval of a warehouse ID. ```APIDOC ## POST /api/v3/register/user ### Description Allows for the registration of a new user and the retrieval of a warehouse ID. ### Method POST ### Endpoint https://ff-485.raxs.ru/api/v3/register/user ### Parameters #### Request Body - **email** (string) - Required - User's email address. - **password** (string) - Required - User's password. - **name** (string) - Required - User's name. ### Request Example ```json { "email": "newuser@example.com", "password": "securepassword123", "name": "New User" } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the registration was successful. - **data** (object) - Contains registration details. - **userId** (string) - The unique identifier for the newly registered user. - **warehouseId** (string) - The ID of the warehouse associated with the user. - **message** (string) - A message confirming successful registration. #### Error Response (400) - Bad Request: Invalid input data. #### Error Response (409) - Conflict: User with this email already exists. ``` -------------------------------- ### Create Warehouse (POST) Source: https://my.raxs.ru/api-docs/v3/index Creates a new warehouse. Requires the warehouse type ID, name, and address. Returns the details of the newly created warehouse upon success. ```http POST /api/v3/warehouses/create Host: ff-485.raxs.ru Content-Type: application/json { "type_id": 2, "name": "Склад ООО ОнМедиа", "address": "г Москва, ул Кремль" } ``` -------------------------------- ### Response Sample for User List Source: https://my.raxs.ru/api-docs/v3/index This JSON sample shows the response when fetching a list of users for chat. Each user object includes their unique ID, name, surname, and email address. ```json [ { "id": 1338, "surname": "Петров", "name": "Петр", "lastname": "Сергеевич", "email": "peter_jw@mail.ru", "phone": "+7 (917) 232-28-22" } ] ``` -------------------------------- ### Response Sample for Order Information (JSON) Source: https://my.raxs.ru/api-docs/v3/index This JSON object represents a successful response (HTTP 200) for retrieving order details. It includes information about the partner, the order itself, and associated tasks. The structure is nested, providing comprehensive data for each field. ```json [ { "partner_id": 2, "order_id": 90691, "total": 3, "completed_count_sum": 0, "partner_name": "ООО \"ОНМЕДИА ГРУПП\"", "order": { "id": 697101, "partner_id": 2, "created_user_id": 3, "type_id": 2, "delivery_date": "2025-11-28", "delivery_time": null, "pallets": 0, "boxes": 0, "delivery_type_id": null, "filled_template": null, "warehouse_id": 365, "status_id": 7, "cancel_reason": null, "comment": null, "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:55:22.000000Z", "docs_id": 169666, "total_invoice_id": null, "total_akt_id": null, "contract_id": 86, "out_warehouse_id": 1030, "application_mp": null, "mp_warehouse_id": null, "parent_id": null, "order_files": null, "pallet_files": null, "is_preparation": 0, "city_id": null, "order_preparation_type_id": null, "comment_ff": null, "city": null, "fulfillment_id": 740, "out_warehouse_unit_id": null, "car_id": null, "warehouse_old_id": null, "marketplace_id": null, "sdek_uuid": "", "sdek_job_id": null, "loader_count": null, "tasks": [ { "id": 225897, "groups_types_join_id": 7, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": 1199, "status_id": 1, "finish_datetime": "2025-11-28 10:55:28", "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:55:28.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null }, { "id": 225898, "groups_types_join_id": 35, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": null, "status_id": 1, "finish_datetime": null, "created_at": "2025-11-28T07:54:19.000000Z", "updated_at": "2025-11-28T07:54:19.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null }, { "id": 225899, "groups_types_join_id": 8, "order_id": 90691, "fulfillment_id": 740, "created_partner_id": 2, "created_user_id": 3, "executor_partner_id": 2, "executor_user_id": 1199, "status_id": 2, "finish_datetime": null, "created_at": "2025-11-28T07:55:28.000000Z", "updated_at": "2025-11-28T07:55:28.000000Z", "deleted_at": null, "finish_datetime_tsd": null, "task_custom_status_id": null, "deadline_datetime": null, "start_datetime": null } ] }, "partner": { "id": 2, "short_name": "ООО \"ОНМЕДИА ГРУПП\"", "full_name": "ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ \"ОНМЕДИА ГРУПП\"", "inn": "7725736440", "kpp": 772501001, "ogrn": null, "ogrnip": null, "address": "г Москва, ул Ленинская Слобода, д 9, помещ 1", "mailing_address": null, "phone": null, "email": null, "created_at": "2023-05-22T20:14:12.000000Z", "updated_at": "2025-09-29T11:34:32.000000Z", "deleted_at": null, "tax_type_id": 1, "docs_prefix": "", "stamp_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAw8AAAIUCAYAAABcuhA6AAAACXBIWXMAAC4jAAAuIwF4pT92AAXt.....", "logo_image": null, "doc_signatory_fullname": "Хаскель Дмитрий Сергеевич", "doc_signatory_fullname_2": "Хаскелем Дмитрием Сергеевичем", "doc_signatory_fullname_genitive": null, "doc_signatory_position": "Генеральный директор1", "doc_signatory_position_genitive": null, "doc_signatory_based": "Устава", "legal": null, "kbe": null, "is_dropshipping_contractor": null, "disabled_orders": 0, "catalog_id": null } } ] ``` -------------------------------- ### Product Management API Source: https://my.raxs.ru/api-docs/v3/index Provides endpoints for managing products, including retrieval and creation. ```APIDOC ## GET /api/v3/products ### Description Retrieves a list of all products. ### Method GET ### Endpoint https://ff-485.raxs.ru/api/v3/products ### Response #### Success Response (200) - **data** (array) - An array containing product information. Each element is an object representing a product. #### Response Example ```json [ { "data": [ {} ] } ] ``` ## POST /api/v3/products/create ### Description Creates a new product with the provided details. ### Method POST ### Endpoint https://ff-485.raxs.ru/api/v3/products/create ### Parameters #### Path Parameters - **name** (string) - Required - Название товара - **brand** (string) - Required - Бренд - **articul** (string) - Required - Артикул - **barcode** (array of arrays) - Required - Массив штрихкодов - **images** (object) - Optional - Массив изображений ### Response #### Success Response (200) Indicates that the product was successfully created. #### Response Example (No specific example provided in the source text for the success response body of product creation.) ``` -------------------------------- ### Create Receiving Order Source: https://my.raxs.ru/api-docs/v3/index Creates a new receiving order for goods. Requires warehouse IDs, delivery date, and optional details like application number, box count, pallet count, and comments. ```APIDOC ## Создать заявку на приемку ### Description Creates a new order for receiving goods into a warehouse. Specifies source and destination warehouses, delivery date, and other logistical details. ### Method POST ### Endpoint /orders/supplies/create ### Parameters #### Path Parameters - **in_warehouse** (integer) - Required - The ID of the incoming warehouse. - **out_warehouse** (integer) - Required - The ID of the outgoing warehouse. - **delivery_date** (string) - Required - The date of delivery in YYYY-MM-DD format. - **application_mp** (string) - Optional - The marketplace application number. - **box_count** (integer) - Optional - The number of boxes. - **pallet_count** (integer) - Optional - The number of pallets. - **comment** (string) - Optional - Any additional comments. ### Response #### Success Response (200) - **pallets** (integer) - Number of pallets. - **boxes** (integer) - Number of boxes. - **comment** (string) - Comment provided. - **warehouse_id** (integer) - ID of the receiving warehouse. - **out_warehouse_id** (integer) - ID of the outgoing warehouse. - **application_mp** (integer) - Marketplace application ID. - **partner_id** (integer) - Partner ID. - **delivery_date** (string) - Delivery date. - **created_user_id** (integer) - ID of the user who created the order. - **type_id** (integer) - Type of order. - **status_id** (integer) - Status of the order. - **docs_id** (integer) - Document ID. - **contract_id** (integer) - Contract ID. - **fulfillment_id** (integer) - Fulfillment ID. - **updated_at** (string) - Timestamp of the last update. - **created_at** (string) - Timestamp of creation. - **id** (integer) - Unique identifier of the receiving order. ### Response Example ```json { "pallets": 5, "boxes": 2, "comment": "Проверить товары", "warehouse_id": 155, "out_warehouse_id": 156, "application_mp": 23, "partner_id": 7, "delivery_date": "2025-06-05T21:00:00.000000Z", "created_user_id": 3, "type_id": 1, "status_id": 1, "docs_id": 1081, "contract_id": 445, "fulfillment_id": 91, "updated_at": "2025-06-11T11:01:37.000000Z", "created_at": "2025-06-11T11:01:37.000000", "id": 682 } ``` ```