Skip to main content
PATCH
/
api
/
resources
/
locations
/
batch
Batch Patch Location Resources
curl --request PATCH \
  --url https://api.embedreach.com/api/resources/locations/batch \
  --header 'Content-Type: application/json' \
  --data '
{
  "resources": [
    {
      "locationId": "<string>",
      "name": "<string>",
      "address": "<string>",
      "address2": "<string>",
      "address3": "<string>",
      "city": "<string>",
      "state": "<string>",
      "zipCode": "<string>"
    }
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "batchId": "<string>",
    "message": "<string>",
    "recordCount": 123,
    "schemaDefinitionId": "<string>"
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Query Parameters

ignoreUnknownFields
string | null
default:false

Whether to allow extra fields that are not defined in the schema. If true, extra fields will be accepted but not saved. If false, requests with extra fields will be rejected.

Body

application/json
resources
object[]
required

An array of partial location resources to patch

Response

Status 202 response

success
boolean
required
message
string
data
object