Create a store department
Creates a department in a store. Pass parent_department_id to create a sub-department of an existing top-level department.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Human-readable department name.
The store the department belongs to.
^[0-9]+$Whether sales from this department are omitted from sales reporting. Defaults to false.
ID of the parent department, or null for a top-level department. A parent must itself be top-level: departments nest one level deep.
^[0-9]+$Response
A grouping of products within a store, optionally nested under a parent department.
Unique identifier for the store department.
When the department was deactivated, or null when it is active.
Whether sales from this department are omitted from sales reporting.
Human-readable department name.
ID of the parent department, or null for a top-level department.