Order reason catalog 1

list

request
GET /api/v2/general/order-reasons-catalog1/list HTTP/1.1
Parameter Description

name

String to search by name. EX: ?name=test

pageable

Pageable description

response
{
  "content" : [ ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 0,
  "totalPages" : 0,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 0,
  "empty" : true
}
Table 626. response description
Path Type Description

name

String

order reasons catalog 1 name

deleted

Boolean

is order reasons catalog 1 deleted?

create

request
POST /api/v2/general/order-reasons-catalog1 HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 627. request description
Path Type Description Constraints

name

String

order reasons catalog 1 name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is order reasons catalog 1 deleted?

Must not be null

response
{
  "name" : "Test",
  "deleted" : false
}
Table 628. response description
Path Type Description

name

String

order reasons catalog 1 name

deleted

Boolean

is order reasons catalog 1 deleted?

get

request
GET /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1
Table 629. request description
Parameter Description

name

order reasons catalog 1 name

response
{
  "name" : "Test",
  "deleted" : false
}
Table 630. response description
Path Type Description

name

String

order reasons catalog 1 name

deleted

Boolean

is order reasons catalog 1 deleted?

update

request
PUT /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 631. request description
Path Type Description Constraints

name

String

order reasons catalog 1 name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is order reasons catalog 1 deleted?

Must not be null

Parameter Description

name

order reasons catalog 1 name

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1
Table 632. request description
Parameter Description

name

order reasons catalog 1 name

response
HTTP/1.1 200 OK