商品属性項目登録
POST /products/attribute_items
POST
/products/attribute_items
商品属性項目を登録します。
対象プラン
- スタンダード
- プレミアム
- プレミアムプラス
- フードビジネス
- リテールビジネス
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
no
required
項目番号
商品属性に付与されている連番
string format: int
name
required
選択肢名
商品属性項目の名称
string format: string
displaySequence
表示順
表示順序
string format: int
Example
{ "no": "1", "name": "string", "displaySequence": "123"}
Responses
Section titled “ Responses ”取得成功
object
code
商品属性項目を一意にする項目
string
no
商品属性に付与されている連番
string
name
商品属性項目の名称
string
displaySequence
表示順序
string
Example
{ "code": "string", "no": "string", "name": "string", "displaySequence": "string"}
- 項目番号で指定された商品属性が存在しなかった場合
- 上限を超えて登録しようとした場合
object
type
required
string
title
required
string
detail
string
status
integer
Examples
{ "type": "about:blank", "title": "Bad Request", "detail": "指定された商品属性が存在しません", "status": 400}
{ "type": "about:blank", "title": "Bad Request", "detail": "指定された商品属性に登録できる商品属性項目の件数の上限をオーバーしたため、登録できません", "status": 400}