Update Company
curl --request PUT \
--url https://api-staging.luladelivery.store/stores/company/{company_id}import requests
url = "https://api-staging.luladelivery.store/stores/company/{company_id}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api-staging.luladelivery.store/stores/company/{company_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.luladelivery.store/stores/company/{company_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.luladelivery.store/stores/company/{company_id}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api-staging.luladelivery.store/stores/company/{company_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.luladelivery.store/stores/company/{company_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body{
"success": true
}Companies
Update Company
This endpoint updates an existing company’s information in the system. You can modify any company details including business information, contact details, address, and operational status. All fields are optional - only provide the fields you want to update.
PUT
/
stores
/
company
/
{company_id}
Update Company
curl --request PUT \
--url https://api-staging.luladelivery.store/stores/company/{company_id}import requests
url = "https://api-staging.luladelivery.store/stores/company/{company_id}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://api-staging.luladelivery.store/stores/company/{company_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.luladelivery.store/stores/company/{company_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.luladelivery.store/stores/company/{company_id}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api-staging.luladelivery.store/stores/company/{company_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.luladelivery.store/stores/company/{company_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body{
"success": true
}This endpoint allows you to update any aspect of a company’s information. You only need to include the fields you want to modify in the request body. The system will update only the provided fields while keeping other information unchanged.
Request Body Fields
Request Body Fields
string
Updated company name. Example: “Salman’s Company New”
string
Updated company contact email address. Example: “[email protected]”
object
string
Updated company contact phone number. Example: “090078601”
string
Updated company website URL. Example: “https://www.lulaconvenience.com/“
Note the correct spelling is “website” not “webiste”
string
Updated company logo URL or base64 encoded image
string
Updated company banner image URL or base64 encoded image
string
Updated company profile image URL or base64 encoded image
string
Updated custom header text for receipts
string
Updated Employer Identification Number. Example: “0000”
string
Updated company operational status. Example: “Churned”
Valid Status Values
Valid Status Values
- On Boarding
- Live
- Off Boarding
- Churned
- Suspended
Changing status to “Churned” or “Suspended” may affect store operations
string
Updated type of company classification. Example: “Mid-Market”
Valid Company Types
Valid Company Types
- Enterprise
- Mid-Market
- Small Business
- Startup
number
Updated company active status. Use 1 for active, 0 for inactive
Setting to 0 will deactivate the company and all associated stores
number
Updated HubSpot contact ID for CRM integration. Example: 12121212121212
Path Parameters
string
required
The unique identifier of the company to update
Request Example
{
"name": "Salman's Company New",
"email": "[email protected]",
"address": {
"line_1": "39 Block Q, Phase 2 Johar Town",
"city": "Lahore",
"state": "Punjab",
"zip": "54782"
},
"phone_number": "090078601",
"website": "https://www.lulaconvenience.com/",
"logo": "",
"banner": "",
"profile_image": "",
"receipt_header": "",
"ein": "0000",
"status": "Churned",
"company_type": "Mid-Market",
"active": 1,
"hubspot_id": 12121212121212
}
Response
boolean
Indicates whether the update operation was successful
Response Example
{
"success": true
}
Partial Updates: You can update individual fields without affecting others. For example, to only update the company name, send just
{"name": "New Company Name"}.Address Updates: When updating address information, you can update individual address fields without providing the complete address object.
Status Changes: Be careful when changing company status, as it may affect:
- Store operations and availability
- Order processing capabilities
- Integration with third-party services
- Billing and subscription status
Validation: The system will validate all provided fields according to the same rules used during company creation. Invalid data will result in an error response.

