# ユニークなカタログオファーコードを作成する ユニークなカタログオファーコードを作成します。 Endpoint: POST /v2/project/{project_id}/admin/unique_catalog_offer/{external_id}/code Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 - `external_id` (integer, required) プロモーションexternal ID。プロジェクト内での一意のプロモーション識別子。 Example: "coupon_44056_1" ## Request fields (application/json): - `coupon_code` (string) 大文字と小文字を区別する一意のコードです。文字と数字が含まれます。 Example: "WINTER2021" ## Response 201 fields (application/json): - `code` (string) 大文字と小文字を区別する一意のコードです。文字と数字が含まれます。 Example: "WINTER2021" ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" - `statusCode` (integer) Example: 401 ## Response 404 fields (application/json): - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-9802]: Coupon not found" - `statusCode` (integer) Example: 404 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `errorCode` (integer) Example: 9803 - `errorMessage` (string) Example: "[0401-9803]: The code already exists." - `statusCode` (integer) Example: 422 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x"