Nyehandel
  1. Category
Nyehandel
  • Introduction
  • Getting started
  • Webhooks
  • API Reference
  • Order
    • Get order
      GET
    • Get orders
      GET
    • Create order
      POST
    • Deliver order
      POST
  • Shipping Method
    • Get Shipping methods
      GET
  • Product
    • Relation between products and variants
    • Get products
      GET
    • Update products batch
      PUT
    • Create products batch
      POST
    • Create product
      POST
    • Update product
      PUT
    • Create variant
      POST
    • Find product by sku or id
      GET
    • Delete product
      DELETE
  • Variant
    • Update variant batch
      PUT
    • Update variant
      PUT
    • Delete product variant
      DELETE
    • Find variant
      GET
  • Payment Method
    • Get Payment methods
  • Customer
    • Get Customer
    • Get Customers
    • Create Customer
  • Category
    • Create category
      POST
    • Update category
      PUT
    • Get category
      GET
    • Delete category
      DELETE
    • Get categories
      GET
  • Currency
    • Get currencies
  • Headless
    • Pages
      • Get Page
      • Get Pages
    • Categories
      • Get Category
      • Get Pages
    • Startpage
    • System
  1. Category

Update category

PUT
/categories/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/categories/' \
--header 'X-Identifier: {{x_identifier}}' \
--header 'Authorization: Bearer {{token}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "description": "string",
    "meta_title": "string",
    "meta_description": "string",
    "slug": "string",
    "active": true,
    "show_in_menu": true,
    "parent_id": 0,
    "image_url": "string"
}'
Response Response Example
{}

Request

Path Params
id
string 
required
Header Params
X-Identifier
string 
optional
Example:
{{x_identifier}}
Authorization
string 
optional
Example:
Bearer {{token}}
Accept
string 
optional
Example:
application/json
Content-Type
string 
optional
Example:
application/json
Body Params application/json
name
string 
required
description
string 
optional
meta_title
string 
optional
meta_description
string 
optional
slug
string 
optional
active
boolean 
optional
show_in_menu
boolean 
optional
parent_id
integer  | null 
optional
image_url
string 
optional
Examples

Responses

🟢200Success
application/json
Body
object {0}
Previous
Create category
Next
Get category
Built with