Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PATCH \
--url https://api.example.com/v1/crm/services/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"disabled": 0,
"name": "<string>",
"type": 0,
"unique_id": "<string>",
"bonus": "<string>",
"extra": "<unknown>",
"slug": "<string>",
"published": true,
"price": "<string>",
"image": "<string>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"category": 123,
"discount": 123
}
'{
"id": 123,
"tarifs": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"service": 123,
"name": "<string>",
"price": "<string>",
"one_time_payment": true,
"published": true,
"tenant": 123,
"duriation": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"disabled": 0,
"name": "<string>",
"type": 0,
"unique_id": "<string>",
"bonus": "<string>",
"extra": "<unknown>",
"slug": "<string>",
"published": true,
"price": "<string>",
"image": "<string>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"category": 123,
"discount": 123
}curl --request PATCH \
--url https://api.example.com/v1/crm/services/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"disabled": 0,
"name": "<string>",
"type": 0,
"unique_id": "<string>",
"bonus": "<string>",
"extra": "<unknown>",
"slug": "<string>",
"published": true,
"price": "<string>",
"image": "<string>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"category": 123,
"discount": 123
}
'{
"id": 123,
"tarifs": [
{
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"service": 123,
"name": "<string>",
"price": "<string>",
"one_time_payment": true,
"published": true,
"tenant": 123,
"duriation": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"disabled": 0,
"name": "<string>",
"type": 0,
"unique_id": "<string>",
"bonus": "<string>",
"extra": "<unknown>",
"slug": "<string>",
"published": true,
"price": "<string>",
"image": "<string>",
"deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"tenant": 123,
"category": 123,
"discount": 123
}0 - delete1 - archive2 - withdraw0, 1, 2 2550 - Доставка1 - Не выбрано2 - Доставка обратно3 - Доставка туда и обратно4 - workshop0, 1, 2, 3, 4 0 <= x <= 2147483647255^-?\d{0,14}(?:\.\d{0,2})?$50^[-a-zA-Z0-9_]+$^-?\d{0,14}(?:\.\d{0,2})?$Show child attributes
0 - delete1 - archive2 - withdraw0, 1, 2 2550 - Доставка1 - Не выбрано2 - Доставка обратно3 - Доставка туда и обратно4 - workshop0, 1, 2, 3, 4 0 <= x <= 2147483647255^-?\d{0,14}(?:\.\d{0,2})?$50^[-a-zA-Z0-9_]+$^-?\d{0,14}(?:\.\d{0,2})?$Была ли эта страница полезной?