Skip to content

Instantly share code, notes, and snippets.

@baseinc
Last active August 29, 2015 14:01
Show Gist options
  • Save baseinc/4d966562aeb6344f6fc4 to your computer and use it in GitHub Desktop.
Save baseinc/4d966562aeb6344f6fc4 to your computer and use it in GitHub Desktop.

POST /1/item_categories/delete

商品のカテゴリー情報を削除

scope

write_items

リクエストパラメーター

Name Description
item_category_id 商品カテゴリーID (必須)

レスポンスの例

{
  "item_categories":[
    {
      "item_category_id":123,
      "item_id":1000,
      "category_id":11
    },
    {
      "item_category_id":124,
      "item_id":1000,
      "category_id":12
    }
  ]
}

解説

  • item_category_id - 商品のカテゴリーを識別するユニークなID
  • item_id - 商品ID
  • category_id - カテゴリーID

エラーレスポンスの例

{
  "error":"access_denied",
  "error_description":"httpsでアクセスしてください。"
}
{
  "error":"invalid_request",
  "error_description":"アクセストークンが無効です。"
}
{
  "error":"invalid_scope",
  "error_description":"スコープが無効です。"
}
{
  "error":"not_post_method",
  "error_description":"POSTで送信してください。"
}
{
  "error":"bad_item_category_id",
  "error_description":"不正なitem_category_idです。"
}
{
  "error":"db_error",
  "error_description":"DBエラーです。"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment