Зарегистрируйтесь и начните использовать Yume бесплатно
curl --request PATCH \
--url https://api.example.com/v1/shop/warehouses/actions/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"invoice_id": "<string>",
"invoice_datetime": "2023-11-07T05:31:56Z",
"type": 0,
"from_warehouse": 123,
"to_warehouse": 123,
"from_counterparty": 123,
"to_counterparty": 123,
"comment": "<string>",
"manager": 123,
"approved": true,
"products": [
{
"group": 123,
"amount": -1,
"unit_price": "<string>",
"discount": "<string>"
}
],
"tax": "<string>",
"tax_included": true
}
'{
"id": 123,
"invoice_datetime": "2023-11-07T05:31:56Z",
"to_warehouse": 123,
"manager": 123,
"products": [
{
"id": 123,
"action": 123,
"group": 123,
"group_warehouse": 123,
"price": "<string>",
"amount": -1,
"unit_price": "<string>",
"discount": "<string>"
}
],
"price": "<string>",
"amount": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"invoice_id": "<string>",
"type": 0,
"from_warehouse": 123,
"from_counterparty": 123,
"to_counterparty": 123,
"comment": "<string>",
"approved": true,
"tax": "<string>",
"tax_included": true
}curl --request PATCH \
--url https://api.example.com/v1/shop/warehouses/actions/{id}/ \
--header 'Content-Type: application/json' \
--data '
{
"invoice_id": "<string>",
"invoice_datetime": "2023-11-07T05:31:56Z",
"type": 0,
"from_warehouse": 123,
"to_warehouse": 123,
"from_counterparty": 123,
"to_counterparty": 123,
"comment": "<string>",
"manager": 123,
"approved": true,
"products": [
{
"group": 123,
"amount": -1,
"unit_price": "<string>",
"discount": "<string>"
}
],
"tax": "<string>",
"tax_included": true
}
'{
"id": 123,
"invoice_datetime": "2023-11-07T05:31:56Z",
"to_warehouse": 123,
"manager": 123,
"products": [
{
"id": 123,
"action": 123,
"group": 123,
"group_warehouse": 123,
"price": "<string>",
"amount": -1,
"unit_price": "<string>",
"discount": "<string>"
}
],
"price": "<string>",
"amount": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"invoice_id": "<string>",
"type": 0,
"from_warehouse": 123,
"from_counterparty": 123,
"to_counterparty": 123,
"comment": "<string>",
"approved": true,
"tax": "<string>",
"tax_included": true
}2550 - CREATE1 - MOVE2 - DELETE0, 1, 2 -32768 <= x <= 32767Show child attributes
^-?\d{0,2}(?:\.\d{0,2})?$Show child attributes
^-?\d{0,14}(?:\.\d{0,2})?$^-?\d{0,14}(?:\.\d{0,2})?$2550 - CREATE1 - MOVE2 - DELETE0, 1, 2 -32768 <= x <= 32767^-?\d{0,2}(?:\.\d{0,2})?$Была ли эта страница полезной?