---
updatedAt: 2026-11-06T08:14:40.000Z
agentTools:
  projectIndex: https://roappua.readme.io/llms.txt
---

# Отримати позиції замовлення

Отримайте список усіх позицій (послуг та товарів) у конкретному замовленні.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ro-app-public-api-v2_1",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.roapp.io/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/orders/{order_id}/items": {
      "get": {
        "summary": "Отримати позиції замовлення",
        "description": "Отримайте список усіх позицій (послуг та товарів) у конкретному замовленні.",
        "operationId": "get-order-items",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "description": "ID замовлення",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"id\": 78870627,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"20.00\",\n    \"cost\": \"100.00000\",\n    \"margin_id\": null,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 38527538,\n      \"type\": \"service\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"Diagnostics\",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": null,\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 2,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  },\n  {\n    \"id\": 78870628,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"50.00\",\n    \"cost\": \"0.00000\",\n    \"margin_id\": 538042,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 38527535,\n      \"type\": \"work\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"Battery service \",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": null,\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 0,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  },\n  {\n    \"id\": 78870629,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"81.00\",\n    \"cost\": \"54.00000\",\n    \"margin_id\": 387006,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 52110291,\n      \"type\": \"product\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"original Acer keyboard\",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": [\n      {\n        \"cost\": 54,\n        \"cellId\": 3679564,\n        \"goodId\": 137183962,\n        \"quantity\": 1,\n        \"sernum_id\": null,\n        \"sernum_code\": null,\n        \"warehouseId\": 3649247,\n        \"repairOrderProductId\": 78870629\n      }\n    ],\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 0,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  },\n  {\n    \"id\": 78870630,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"69.00\",\n    \"cost\": \"46.00000\",\n    \"margin_id\": 387006,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 52110296,\n      \"type\": \"product\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"original Acer display-cover\",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": [\n      {\n        \"cost\": 46,\n        \"cellId\": 3679564,\n        \"goodId\": 137183963,\n        \"quantity\": 1,\n        \"sernum_id\": null,\n        \"sernum_code\": null,\n        \"warehouseId\": 3649247,\n        \"repairOrderProductId\": 78870630\n      }\n    ],\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 0,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  },\n  {\n    \"id\": 78870631,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"129.00\",\n    \"cost\": \"86.00000\",\n    \"margin_id\": 387006,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 52110306,\n      \"type\": \"product\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"Battery 50.29Wh original\",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": [\n      {\n        \"cost\": 86,\n        \"cellId\": 3679564,\n        \"goodId\": 137183964,\n        \"quantity\": 1,\n        \"sernum_id\": null,\n        \"sernum_code\": null,\n        \"warehouseId\": 3649247,\n        \"repairOrderProductId\": 78870631\n      }\n    ],\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 0,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  },\n  {\n    \"id\": 78870632,\n    \"created_at\": \"2025-05-09T12:52:32Z\",\n    \"assignee_id\": 206039,\n    \"quantity\": \"1.000\",\n    \"price\": \"81.00\",\n    \"cost\": \"54.00000\",\n    \"margin_id\": null,\n    \"is_deduction_required\": false,\n    \"entity\": {\n      \"id\": 52110314,\n      \"type\": \"product\",\n      \"code\": \"\",\n      \"sku\": \"\",\n      \"sn_accounting\": false,\n      \"title\": \"Acer 23.KHJN2.002 SPEAKERs\",\n      \"image\": \"\",\n      \"thumbnail\": \"\",\n      \"uom\": {\n        \"id\": 1,\n        \"title\": \"pcs\",\n        \"description\": \"Pieces\"\n      },\n      \"is_hidden\": false\n    },\n    \"comment\": \"\",\n    \"write_offs\": [\n      {\n        \"cost\": 54,\n        \"cellId\": 3679564,\n        \"goodId\": 137183965,\n        \"quantity\": 1,\n        \"sernum_id\": null,\n        \"sernum_code\": null,\n        \"warehouseId\": 3649247,\n        \"repairOrderProductId\": 78870632\n      }\n    ],\n    \"is_refunded\": false,\n    \"discount\": {\n      \"type\": \"value\",\n      \"percentage\": 0,\n      \"amount\": \"0.00\",\n      \"sponsor\": \"staff\"\n    },\n    \"warranty\": {\n      \"period\": 0,\n      \"period_units\": \"days\"\n    },\n    \"taxes\": [\n      {\n        \"id\": 5628,\n        \"name\": \"State taxes\",\n        \"rate\": 10\n      }\n    ],\n    \"expiration_date\": null\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "example": 78870627,
                        "default": 0
                      },
                      "created_at": {
                        "type": "string",
                        "example": "2025-05-09T12:52:32Z"
                      },
                      "assignee_id": {
                        "type": "integer",
                        "example": 206039,
                        "default": 0
                      },
                      "quantity": {
                        "type": "string",
                        "example": "1.000"
                      },
                      "price": {
                        "type": "string",
                        "example": "20.00"
                      },
                      "cost": {
                        "type": "string",
                        "example": "100.00000"
                      },
                      "margin_id": {},
                      "is_deduction_required": {
                        "type": "boolean",
                        "example": false,
                        "default": true
                      },
                      "entity": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 38527538,
                            "default": 0
                          },
                          "type": {
                            "type": "string",
                            "example": "service"
                          },
                          "code": {
                            "type": "string",
                            "example": ""
                          },
                          "sku": {
                            "type": "string",
                            "example": ""
                          },
                          "sn_accounting": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "title": {
                            "type": "string",
                            "example": "Diagnostics"
                          },
                          "image": {
                            "type": "string",
                            "example": ""
                          },
                          "thumbnail": {
                            "type": "string",
                            "example": ""
                          },
                          "uom": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "title": {
                                "type": "string",
                                "example": "pcs"
                              },
                              "description": {
                                "type": "string",
                                "example": "Pieces"
                              }
                            }
                          },
                          "is_hidden": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          }
                        }
                      },
                      "comment": {
                        "type": "string",
                        "example": ""
                      },
                      "write_offs": {},
                      "is_refunded": {
                        "type": "boolean",
                        "example": false,
                        "default": true
                      },
                      "discount": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "example": "value"
                          },
                          "percentage": {
                            "type": "integer",
                            "example": 0,
                            "default": 0
                          },
                          "amount": {
                            "type": "string",
                            "example": "0.00"
                          },
                          "sponsor": {
                            "type": "string",
                            "example": "staff"
                          }
                        }
                      },
                      "warranty": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "integer",
                            "example": 2,
                            "default": 0
                          },
                          "period_units": {
                            "type": "string",
                            "example": "days"
                          }
                        }
                      },
                      "taxes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "example": 5628,
                              "default": 0
                            },
                            "name": {
                              "type": "string",
                              "example": "State taxes"
                            },
                            "rate": {
                              "type": "integer",
                              "example": 10,
                              "default": 0
                            }
                          }
                        }
                      },
                      "expiration_date": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```