Businesses
Covered in this doc:
List businesses
List all business including active and deleted
List all active businesses
Parameters
Name
Type
Description
added__date
string
Filter for businesses created on a particular date in YYYY-MM-DD
format
order_by
string
Set the field to sort the results by. Available order_by
includes id
(default) and business_name
. You can also sort decending by prefixing the field with a minus sign (i.e. order_by=-id
)
partner_business_id
string
Used to lookup/search for businesses matching a particular internal id
partner_sub_id
string
Used by multi-level private labels to filter businesses to one partner based on their assigned sub ID
Response
Get a single business
Fetch the Business detail using the Business.id
Response
Create a business
Parameters
Name
Type
Description
business_name
string
required Name of the Business
Example
Response
A status code of 201 created
is returned on a successful creation and contains the created business object as JSON. See the Get a single business section for an example Business object.
Updating a business
You can PUT
a partial or full object to the detail endpoint to update/change values on the Business object. If using a partial object, you must insure that the primary business id
is part of the payload.
Last updated