# JSON 파일을 통해 아이템 가져오기 지정된 URL을 통해 JSON 파일에서 스토어로 아이템을 가져옵니다. JSON 파일에서 가져오기에 대한 자세한 정보는 설명서를 참조하세요. Endpoint: POST /v1/projects/{project_id}/import/from_external_file Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 ## Request fields (application/json): - `connector_external_id` (string, required) 아이템을 가져오기 위한 작업 유형을 지정하는 고정 값입니다. Enum: "import_items" - `file_url` (string, required) JSON 형식의 데이터가 있는 파일의 URL입니다. 파일은 공개 액세스가 가능한 스토리지 서비스에 호스팅되어야 합니다. [ 스토어 > 가상 아이템 > 카탈로그 관리 > 아이템 가져오기(JSON)](https://publisher.xsolla.com/0/projects/0/storefront/import-export/import-items) 섹션의 관리자 페이지에서 파일 템플릿을 다운로드할 수 있습니다. Example: "https://my-bucket.s3.amazonaws.com/items.json" - `mode` (string) 가져오기 작업: Enum: "create", "create_and_update", "sync" ## Response 201 fields (application/json): - `import_id` (string) 가져오기 작업 ID입니다. JSON 파일을 가져오는 데 문제가 있는 경우, 이 ID를 고객 성공 관리자에게 보고하거나 csm@Xsolla.com으로 이메일을 보내십시오. Example: "af9f3638a16e11ef880da2cd677d2d24" ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" - `statusCode` (integer) Example: 401 ## Response 422 fields (application/json): - `errorCode` (integer) Example: 1803 - `errorMessage` (string) Example: "[0410-1803]: File content-type doesn't allowed. Allowed content types: application/json; current content type: text/plain" - `statusCode` (integer) Example: 422 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x"