system
1
Migrated from Redmine #1347 | Author: soniya james
Status: Closed | Priority: High, I’m very impatient | Created: 2025-01-21
List of booking I am passing request like this I have booking in 2024 and 2025 but its showing 2024 1st.
$apiUrl = ‘https://user-api-v2.simplybook.me/admin/bookings?order_field=start_datetime&order_direction=desc&page=1&on_page=100’;
how i can modify the request.
system
2
Dmytro Bondarev wrote:
Hi, as we already discussed in #1342 , you should pass
&order_field=start_date&order_direction=desc&page=1&on_page=100
system
3
soniya james wrote:
if i am passing like this also getting same problem
system
4
Dmytro Bondarev wrote:
Please provide HTTP request and response.
system
5
soniya james wrote:
this issue solved.
How I can pass product-addon in add booking?
system
6
soniya james wrote:
“products”:[{“product_id”:“3”,“qty”:“2”},{“product_id”:“2”,“qty”:“1”}]}
product i am adding like this
system
9
soniya james wrote:
“products”: [
{
“product_id”: 8,
“qty”: 1
},
{
“product_id”: 9,
“qty”: 1
}
],
“attributes”: [
{
“product_id”: “8”,
“qty”: 1
},
{
“product_id”: “9”,
“qty”: 1
}
]
}
like this I am passing but not inserting value in to why?
system
10
Dmytro Bondarev wrote:
Attributes are the same as products, you should pass them in products property.
system
11
soniya james wrote:
but if that have same id how we can pass?
one is service addons one is product addons.
system
12
Dmytro Bondarev wrote:
Please provide company login and id attribute and product that have the same id.
system
13
soniya james wrote:
can you send an example.plz
system
14
Dmytro Bondarev wrote:
What example?
Just send us your company login and the id of product and id if attribute.
system
15
soniya james wrote:
{
“company”: “avstest”,
“login”: “soniyajamesvayalil@gmail.com”,
“password”: “Test@123”
}
system
16
Dmytro Bondarev wrote:
What is the product id and attribute id, that have same id?