You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Order field "custom_status" update returns an error #82
when i do something lile this
BCPYTHONCLIENT.Orders.get(10).update(custom_status='Completed')
update succefully
Actual behavior
resturns an errror
bigcommerce.exception.ClientRequestException: 400 Bad Request @ orders/10: b'[{"status":400,"message":"The field 'custom_status' is not supported by this resource."}]'
It would be good to get a few more details about what you're trying to do. The "custom_status" field on an order reflects a custom status label, if one of the default status labels has been renamed. Are you trying to rename the custom label? Or change the order's status to reflect a change in state (Awaiting fulfillment > Completed)?
@catokx@karen-white
I am getting same error when i do the following:
i have passed email_id and order_id in function.....
customer = api_client.Customers.all(email=email_id)[0]
orders = api_client.Orders.all(customer_id=customer.id, id=order_id)
The above gives error- the field 'id' is not supported by this resource.
Instead when i do the following it runs perfectly:
customer = api_client.Customers.all(email=email_id)[0]
orders = api_client.Orders.all(customer_id=customer.id)
Activity
karen-white commentedon Apr 15, 2019
It would be good to get a few more details about what you're trying to do. The "custom_status" field on an order reflects a custom status label, if one of the default status labels has been renamed. Are you trying to rename the custom label? Or change the order's status to reflect a change in state (Awaiting fulfillment > Completed)?
naishal commentedon Oct 3, 2020
@catokx @karen-white
I am getting same error when i do the following:
i have passed email_id and order_id in function.....
customer = api_client.Customers.all(email=email_id)[0]
orders = api_client.Orders.all(customer_id=customer.id, id=order_id)
The above gives error- the field 'id' is not supported by this resource.
Instead when i do the following it runs perfectly:
customer = api_client.Customers.all(email=email_id)[0]
orders = api_client.Orders.all(customer_id=customer.id)
Can you please help me out??...