1. Items
GY Docs
  • Documentation
  • Data API
    • Characters
      • Get Character
      • List Characters
      • Page Characters
    • Creatures
      • Get Creature
      • List Creatures
      • Page Characters
    • Items
      • Get Item
      • List Items
      • Page Items
    • Worlds
      • Get World
      • Get Place
      • List Worlds
      • List Places
      • List Places by World
      • Page Worlds
      • Page Places
  • Management API
    • Characters
      • Insert Character
      • Update Character
      • Remove Character
    • Creatures
      • Insert Creature
      • Update Creature
      • Remove Creature
    • Items
      • Insert Item
        POST
      • Update Item
        PATCH
      • Remove Item
        DELETE
    • Worlds
      • Insert World
      • Update World
      • Remove World
      • Insert Place
      • Update Place
      • Remove Place
GY AccountsGY BooksHeralds of Chaos
GY AccountsGY BooksHeralds of Chaos
  1. Items

Update Item

PATCH
https://api.gycoding.com/heraldsofchaos/items
Completely or partially updates an exisiting Item.

Request

Query Params

Header Params

Body Params application/json

Example
{
    "identifier": "string",
    "name": {
        "es": "string",
        "en": "string"
    },
    "description": {
        "es": "string",
        "en": "string"
    },
    "image": "http://example.com",
    "type": "COMPLETE_ITEM"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.gycoding.com/heraldsofchaos/items?id' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "identifier": "string",
    "name": {
        "es": "string",
        "en": "string"
    },
    "description": {
        "es": "string",
        "en": "string"
    },
    "image": "http://example.com",
    "type": "COMPLETE_ITEM"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "identifier": "string",
    "name": "string",
    "description": "string",
    "image": "http://example.com",
    "type": "COMPLETE_ITEM"
}
🔵304Not Modified
🟠400Bad Request
🟠403Forbidden
🟠404Not Found
🟠405Method Not Allowed
🔴500Internal Error
Previous
Insert Item
Next
Remove Item
Built with