コンテンツにスキップ

受注グループタグ登録

POST
/order_group_tags
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/ec-b2b/order_group_tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "重要" }'

受注グループタグを登録します。

Media typeapplication/json
OrderGroupTagRequest
object
name

タグ名

string
>= 1 characters <= 255 characters
Examples
Exampledefault
{
"name": "重要"
}

登録成功

Media typeapplication/json
OrderGroupTagResponse
object
id

受注グループタグID

string format: uuid
name

タグ名

string
>= 1 characters <= 255 characters
Examples
Exampledefault
{
"id": "12345678-1234-1234-1234-1234567890ab",
"name": "重要"
}
  • 入力チェックエラーの場合
Media typeapplication/json
object
type
required
string
title
required
string
detail
string
status
integer
Example
{
"type": "about:blank",
"title": "Bad Request",
"detail": "request_json:[name]は必須です。",
"status": 400
}