POST
/
stores
/
company
Create Company
curl --request POST \
  --url https://api-staging.luladelivery.store/stores/company
{
  "id": "<string>",
  "address_id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "phone_number": "<string>",
  "logo": "<string>",
  "banner": "<string>",
  "profile_image": "<string>",
  "receipt_header": "<string>",
  "ein": "<string>",
  "status": "<string>",
  "company_type": "<string>",
  "active": 123,
  "hubspot_id": "<string>",
  "updated_at": "<string>",
  "created_at": "<string>",
  "website": "<string>",
  "created_by": "<string>",
  "updated_by": "<string>",
  "deleted_at": "<string>"
}
This endpoint allows you to create a new company with all necessary business information. The company will be assigned a unique ID and can then be used to create and manage stores under its umbrella.

Request Example

{
    "name": "Salman's Company",
    "email": "[email protected]",
    "address": {
        "line_1": "123 Main Street",
        "city": "Philadelphia",
        "state": "PA",
        "zip": "19104"
    },
    "phone_number": "090078601",
    "website": "https://www.lulaconvenience.com/",
    "logo": "",
    "banner": "",
    "profile_image": "",
    "receipt_header": "",
    "ein": "0000",
    "status": "On Boarding",
    "company_type": "Mid-Market",
    "active": 1,
    "hubspot_id": 12121212121212
}

Response

id
string
Unique company identifier generated by the system
address_id
string
Unique identifier for the company’s address record
name
string
Company name as provided in the request
email
string
Company contact email address
phone_number
string
Company contact phone number
logo
string
Company logo URL or encoded image
banner
string
Company banner image URL or encoded image
profile_image
string
Company profile image URL or encoded image
receipt_header
string
Custom receipt header text
ein
string
Employer Identification Number
status
string
Current company operational status
company_type
string
Company classification type
active
number
Company active status (1 = active, 0 = inactive)
hubspot_id
string
Associated HubSpot contact ID
updated_at
string
Timestamp of last update (ISO 8601 format)
created_at
string
Timestamp of creation (ISO 8601 format)
website
string
Company website URL
created_by
string
ID of user who created the company record
updated_by
string
ID of user who last updated the company record
deleted_at
string
Timestamp of deletion (null if not deleted)

Response Example

{
    "id": "1000003",
    "address_id": "480c9c0c-50b8-4911-89db-e63d68c6f58a",
    "name": "Salman's Company",
    "email": "[email protected]",
    "phone_number": "090078601",
    "logo": "",
    "banner": "",
    "profile_image": "",
    "receipt_header": "",
    "ein": "0000",
    "status": "On Boarding",
    "company_type": "Mid-Market",
    "active": 1,
    "hubspot_id": "12121212121212",
    "updated_at": "2023-06-19T15:22:31.591Z",
    "created_at": "2023-06-19T15:22:31.591Z",
    "website": null,
    "created_by": null,
    "updated_by": null,
    "deleted_at": null
}