Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Triada_Site_Bx24
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
Triada_Site_Bx24
Commits
a294df1f
Commit
a294df1f
authored
Jun 18, 2024
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
453db652
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
22 deletions
+75
-22
README.md
README.md
+75
-22
No files found.
README.md
View file @
a294df1f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
### catalog.product.add
### catalog.product.add
`Method`
: POST
`Method`
: POST
`URL`
:
`https://triada.sedo.uz/rest/
2/umd00zwy1noiupw4
/catalog.product.add.json`
`URL`
:
`https://triada.sedo.uz/rest/
1/w5wcseycj8jlzv5l
/catalog.product.add.json`
`Params`
:
`Params`
:
```
js
```
js
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
"
fields
"
:
{
"
fields
"
:
{
"
active
"
:
"
Y
"
,
"
active
"
:
"
Y
"
,
"
canBuyZero
"
:
"
Y
"
,
"
canBuyZero
"
:
"
Y
"
,
"
code
"
:
"
t-shirt
"
,
// короткий код товара (только на латынице и уникальный)
"
code
"
:
"
t-shirt
_test1
"
,
// короткий код товара (только на латынице и уникальный)
"
createdBy
"
:
"
1
"
,
"
createdBy
"
:
"
1
"
,
"
dateActiveFrom
"
:
"
2019-06-04T19:36:00+03:00
"
,
"
dateActiveFrom
"
:
"
2019-06-04T19:36:00+03:00
"
,
"
dateActiveTo
"
:
"
2019-06-05T19:57:00+03:00
"
,
"
dateActiveTo
"
:
"
2019-06-05T19:57:00+03:00
"
,
...
@@ -46,19 +46,59 @@
...
@@ -46,19 +46,59 @@
}
}
```
```
### Response Success:
### Response Success:
`
3456`
- ID созданного товара этим запросом
`
21744`
- ID созданного товара этим запросом, для дальнейщих rest методов
```
js
```
js
{
{
"
result
"
:
3456
,
"
result
"
:
{
"
time
"
:
{
"
element
"
:
{
"
start
"
:
1714725919.108458
,
"
active
"
:
"
Y
"
,
"
finish
"
:
1714725919.306497
,
"
available
"
:
"
Y
"
,
"
duration
"
:
0.19803905487060547
,
"
bundle
"
:
"
N
"
,
"
processing
"
:
0.1816730499267578
,
"
canBuyZero
"
:
"
Y
"
,
"
date_start
"
:
"
2024-05-03T13:45:19+05:00
"
,
"
code
"
:
"
t-shirtss
"
,
"
date_finish
"
:
"
2024-05-03T13:45:19+05:00
"
"
createdBy
"
:
1
,
}
"
dateActiveFrom
"
:
"
2019-06-04T21:36:00+05:00
"
,
"
dateActiveTo
"
:
"
2019-06-05T21:57:00+05:00
"
,
"
dateCreate
"
:
"
2018-10-22T13:31:15+05:00
"
,
"
detailPicture
"
:
null
,
"
detailText
"
:
"
Подробное описание товара 1
"
,
"
detailTextType
"
:
"
html
"
,
"
height
"
:
null
,
"
iblockId
"
:
13
,
"
iblockSectionId
"
:
null
,
"
id
"
:
21744
,
"
length
"
:
null
,
"
measure
"
:
5
,
"
modifiedBy
"
:
1
,
"
name
"
:
"
Наименование товара 1
"
,
"
previewPicture
"
:
null
,
"
previewText
"
:
"
Короткое описание товара 1
"
,
"
previewTextType
"
:
"
text
"
,
"
purchasingCurrency
"
:
"
UZS
"
,
"
purchasingPrice
"
:
"
1000.00
"
,
"
quantity
"
:
100
,
"
quantityReserved
"
:
null
,
"
quantityTrace
"
:
"
Y
"
,
"
sort
"
:
340
,
"
subscribe
"
:
"
Y
"
,
"
timestampX
"
:
"
2024-06-18T14:11:40+05:00
"
,
"
type
"
:
1
,
"
vatId
"
:
null
,
"
vatIncluded
"
:
"
N
"
,
"
weight
"
:
null
,
"
width
"
:
null
,
"
xmlId
"
:
"
bx123123
"
}
},
"
time
"
:
{
"
start
"
:
1718701900.168989
,
"
finish
"
:
1718701900.290603
,
"
duration
"
:
0.12161397933959961
,
"
processing
"
:
0.09767913818359375
,
"
date_start
"
:
"
2024-06-18T14:11:40+05:00
"
,
"
date_finish
"
:
"
2024-06-18T14:11:40+05:00
"
}
}
}
```
```
...
@@ -78,22 +118,35 @@
...
@@ -78,22 +118,35 @@
"
catalogGroupId
"
:
1
,
// ID цены в Битрикс24, 1-по умолчанию
"
catalogGroupId
"
:
1
,
// ID цены в Битрикс24, 1-по умолчанию
"
currency
"
:
"
UZS
"
,
"
currency
"
:
"
UZS
"
,
"
price
"
:
2000
,
"
price
"
:
2000
,
"
productId
"
:
2174
2
// ID товара созданного методом выше
"
productId
"
:
2174
4
// ID товара созданного методом выше
}
}
}
}
```
```
`Response Success`
:
`Response Success`
:
```
js
```
js
{
{
"
result
"
:
3456
,
"
result
"
:
{
"
time
"
:
{
"
price
"
:
{
"
start
"
:
1714725919.108458
,
"
catalogGroupId
"
:
1
,
"
finish
"
:
1714725919.306497
,
"
currency
"
:
"
UZS
"
,
"
duration
"
:
0.19803905487060547
,
"
extraId
"
:
null
,
"
processing
"
:
0.1816730499267578
,
"
id
"
:
21541
,
"
date_start
"
:
"
2024-05-03T13:45:19+05:00
"
,
"
price
"
:
2000
,
"
date_finish
"
:
"
2024-05-03T13:45:19+05:00
"
"
priceScale
"
:
2000
,
}
"
productId
"
:
21744
,
"
quantityFrom
"
:
null
,
"
quantityTo
"
:
null
,
"
timestampX
"
:
"
2024-06-18T14:13:43+05:00
"
}
},
"
time
"
:
{
"
start
"
:
1718702023.217095
,
"
finish
"
:
1718702023.402514
,
"
duration
"
:
0.18541908264160156
,
"
processing
"
:
0.16370487213134766
,
"
date_start
"
:
"
2024-06-18T14:13:43+05:00
"
,
"
date_finish
"
:
"
2024-06-18T14:13:43+05:00
"
}
}
}
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment