Modifiers
Responses
200Success
application/json
get
GET /v1/core/modifiers HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
]
}
}
Body
Responses
200Success
application/json
post
POST /v1/core/modifiers HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"params": {
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1
}
}
200Success
{
"Params": {
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1
},
"Data": {
"item": {
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/core/modifiers/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
},
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/core/modifiers/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"params": {
"id": "text",
"locales": {},
"minSelection": 1,
"maxSelection": 1
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
}
}
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
get
GET /v1/core/modifiers/export HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"items": [
{
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"minSelection": 1,
"maxSelection": 1,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"id": "text",
"options": [
{
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
]
}
],
"next": "text"
}
}
Body
Responses
200Success
application/json
post
POST /v1/core/modifier-options HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 221
{
"params": {
"modifierId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"productUid": "text",
"uomUid": "text"
}
}
200Success
{
"Params": {
"modifierId": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"productUid": "text",
"uomUid": "text"
},
"Data": {
"item": {
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
}
}
Path parameters
idstringRequired
Responses
200Success
application/json
delete
DELETE /v1/core/modifier-options/{id} HTTP/1.1
Host:
Accept: */*
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/core/modifier-options/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 160
{
"params": {
"modifierId": "text",
"id": "text",
"locales": {},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"productUid": "text",
"uomAssignmentUid": "text"
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"item": {
"id": "text",
"locales": {
"ar": {
"name": "text",
"description": "text"
},
"en": {
"name": "text",
"description": "text"
}
},
"price": 1,
"isActive": true,
"sortNumber": 1,
"multiple": true,
"createdAt": "text",
"createdVia": "text",
"createdBy": "text",
"updatedAt": "text",
"updatedVia": "text",
"updatedBy": "text",
"uomAssignmentUid": "text",
"uomUid": "text",
"productUid": "text"
}
}
}
Was this helpful?