cURL
curl --request PUT \ --url https://api.opx.co/partners/v1/worksites/{id} \ --header 'Content-Type: application/json' \ --data ' { "address": "<string>", "city": "<string>", "zipcode": "<string>", "external_reference": "<string>", "country": "<string>", "additional_address": "<string>", "indivision": true, "fiscal_informations": [ { "firstname": "<string>", "lastname": "<string>", "fiscal_number": "<string>", "fiscal_reference": "<string>" } ] } '
{ "data": { "id": 123, "reference": "<string>", "external_reference": "<string>", "convention_id": 123, "beneficiary_id": 123, "installer_name": "<string>", "zipcode": "<string>", "address": "<string>", "city": "<string>", "status": "<string>", "created_at": "<string>", "precarity_type": "<string>", "fiscal_informations": [ { "firstname": "<string>", "lastname": "<string>", "fiscal_number": "<string>", "fiscal_reference": "<string>" } ], "indivision": true } }
Documentation IndexFetch the complete documentation index at: https://docs.opx.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.opx.co/llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
WorksiteResource