For the complete documentation index, see llms.txt. This page is also available as Markdown.

Categories

Delete category

DELETE https://api.woowup.com/apiv3/categories

Delete a parent category and their childs

Request Body

Name
Type
Description

code

string

Category code

notify_to

string

email to receive the confirmation

{
    "payload": {
        "request_id": "xxxx"
    },
    "message": "ok",
    "code": "ok",
    "time": "62ms"
}
{
    "payload": {
        "errors": [
            "Required properties missing: [\"code\"]"
        ]
    },
    "message": "bad request",
    "code": "bad_request",
    "time": "57ms"
}
{
    "payload": [],
    "message": "forbidden: authentication failed",
    "code": "forbidden",
    "time": "7ms"
}

Example

curl -X DELETE \
  https://api.woowup.com/apiv3/categories \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic XXXXXXXXXXXXXXXXXXXX' \
  -H 'Content-Type: application/json' \
  -d '{
	"code": "abcd",
	"notify_to": "test@email.com"
}'

Response

Delete categories (bulk)

DELETE https://api.woowup.com/apiv3/categories/bulk

Delete all categories

Request Body

Name
Type
Description

notify_to

string

email to receive the confirmation

Example

Response

Última actualización

¿Te fue útil?