AMCS Group Customer API

The Customer API from AMCS Group — 3 operation(s) for customer.

Operations 5

GET /directory/customers/changes Retrieve changes #
GET /directory/customers/{guid} Find with GUID #
PUT /directory/customers/{guid} Partial update #
GET /directory/customers Find with Filters #
POST /directory/customers Create or update #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amcs-group-customer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amcs-group-customer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Core AccessGroup Customer API
  version: core
servers:
- url: https://rstapi-sbx-svc-core.amcsplatform.com/erp/api/integrator/erp
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Customer
paths:
  /directory/customers/changes:
    get:
      tags:
      - Customer
      summary: Retrieve changes
      description: '| Property             | Description                                                           |

        | -------------------- | --------------------------------------------------------------------- |

        | GUID                 | The GUID associated to the customer.                                  |

        | Name                 | The customer''s name.                                                  |

        | Reference            | An alternative name used for the customer.                            |

        | ARAccountCode        | The account code used for Accounts Receivable.                        |

        | FederalId            | The customer''s local authority / government /tax reference.           |

        | IsInternal           | Whether the customer is an internal customer.                       |

        | IsResidential   | Whether the customer is a residential customer (as opposed to a commercial). |

        | ReceiveServiceUpdatesByEmail   | Customer receives service updates by email.     |

        | ReceiveServiceUpdatesByText    | Customer receives service updates by text.      |

        | ReceiveMarketingUpdatesByEmail | Customer receives marketing updates by email.   |

        | ReceiveMarketingUpdatesByText  | Customer receives marketing updates by text.    |

        | CompanyListItem          | The GUID and name of the company this customer is associated to.        |

        | CustomerStateListItem    | The GUID and status of the customer (eg. Active, Suspended, etc.)       |

        | CustomerStateChangeReasonListItem | The GUID and reason of the latest state change .               |

        | CustomerTypeListItem     | The GUID and type of customer (eg. Residential, Commerical, Municipal). |

        | CustomerCategoryListItem | The GUID and category of the customer (various values).                 |

        | CustomerGroupListItem    | The GUID and group of the customer (various values).                    |

        | CurrencyListItem         | The GUID and currency of the customer (various values).                 |

        | RelatedCustomerStateChangeRequests| The array of related customer state change requests|

        | RelatedCustomerStateChangeRequests[0].EffectiveDate| The effective date associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedCustomerStateGuid| The related customer state guid associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedChangeReasonGuid| The related customer change reason guid associated to the customer state change request|

        | RelatedBlobHashes| The array of related external documents to the customer. |

        | RelatedBlobHashes[0].Hash| The hash of the external document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs| The array of related report documents to the account customer. |

        | RelatedReportBlobs[0].Guid| The Guid associated to the customer report.|

        | RelatedReportBlobs[0].Hash| The hash of the report document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs[0].DocumentDescription| The description associated to the customer report.|

        | RelatedReportBlobs[0].DocumentName| The document name associated to the customer report.|

        | RelatedReportBlobs[0].IsForAllSites| Whether the customer report is for all sites of related customer.|

        | RelatedReportBlobs[0].RelatedSites| The list of related customer report sites.|

        | RelatedReportBlobs[0].RelatedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites| The list of excluded related customer report sites.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedHQLocationGuid| The guid associated to the customer head quarter location.                    |

        '
      operationId: Customer_GetChanges
      parameters:
      - name: since
        in: query
        schema:
          type: string
      - name: cursor
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceChanges_ApiIntegratorCustomerResource'
  /directory/customers/{guid}:
    get:
      tags:
      - Customer
      summary: Find with GUID
      description: '| Property             | Description                                                           |

        | -------------------- | --------------------------------------------------------------------- |

        | GUID                 | The GUID associated to the customer.                                  |

        | Name                 | The customer''s name.                                                  |

        | Reference            | An alternative name used for the customer.                            |

        | ARAccountCode        | The account code used for Accounts Receivable.                        |

        | FederalId            | The customer''s local authority / government /tax reference.           |

        | IsInternal           | Whether the customer is an internal customer.                       |

        | IsResidential   | Whether the customer is a residential customer (as opposed to a commercial). |

        | ReceiveServiceUpdatesByEmail   | Customer receives service updates by email.     |

        | ReceiveServiceUpdatesByText    | Customer receives service updates by text.      |

        | ReceiveMarketingUpdatesByEmail | Customer receives marketing updates by email.   |

        | ReceiveMarketingUpdatesByText  | Customer receives marketing updates by text.    |

        | CompanyListItem          | The GUID and name of the company this customer is associated to.        |

        | CustomerStateListItem    | The GUID and status of the customer (eg. Active, Suspended, etc.)       |

        | CustomerStateChangeReasonListItem | The GUID and reason of the latest state change .               |

        | CustomerTypeListItem     | The GUID and type of customer (eg. Residential, Commerical, Municipal). |

        | CustomerCategoryListItem | The GUID and category of the customer (various values).                 |

        | CustomerGroupListItem    | The GUID and group of the customer (various values).                    |

        | CurrencyListItem         | The GUID and currency of the customer (various values).                 |

        | RelatedCustomerStateChangeRequests| The array of related customer state change requests|

        | RelatedCustomerStateChangeRequests[0].EffectiveDate| The effective date associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedCustomerStateGuid| The related customer state guid associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedChangeReasonGuid| The related customer change reason guid associated to the customer state change request|

        | RelatedBlobHashes| The array of related external documents to the customer. |

        | RelatedBlobHashes[0].Hash| The hash of the external document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs| The array of related report documents to the account customer. |

        | RelatedReportBlobs[0].Guid| The Guid associated to the customer report.|

        | RelatedReportBlobs[0].Hash| The hash of the report document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs[0].DocumentDescription| The description associated to the customer report.|

        | RelatedReportBlobs[0].DocumentName| The document name associated to the customer report.|

        | RelatedReportBlobs[0].IsForAllSites| Whether the customer report is for all sites of related customer.|

        | RelatedReportBlobs[0].RelatedSites| The list of related customer report sites.|

        | RelatedReportBlobs[0].RelatedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites| The list of excluded related customer report sites.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedHQLocationGuid| The guid associated to the customer head quarter location.                    |

        '
      operationId: Customer_Get
      parameters:
      - name: guid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultEntity_ApiIntegratorCustomerResource'
    put:
      tags:
      - Customer
      summary: Partial update
      description: '| Property             | Description                                                           | Required |

        | -------------------- | --------------------------------------------------------------------- | -------- |

        | GUID                 | The GUID associated to the customer.                                  | No |

        | Name                 | The customer''s name.                                                  | Yes |

        | Reference            | An alternative name used for the customer.                            | No |

        | ARAccountCode        | The account code used for Accounts Receivable. This field must be null. Error "ARAccountCode should be null" is returned when not null. | No |

        | FederalId            | The customer''s local authority / government /tax reference.           | No |

        | IsInternal           | Whether the customer is an internal customer.                         | Yes |

        | IsResidential   | Whether the customer is a residential customer (as opposed to a commercial). | No |

        | ReceiveServiceUpdatesByEmail   | Customer receives service updates by email.                 | Yes |

        | ReceiveServiceUpdatesByText    | Customer receives service updates by text.                  | Yes |

        | ReceiveMarketingUpdatesByEmail | Customer receives marketing updates by email.               | Yes |

        | ReceiveMarketingUpdatesByText  | Customer receives marketing updates by text.                | Yes |

        | CompanyListItem          | The GUID and name of the company this customer is associated to.        | Yes |

        | CustomerStateListItem    | The GUID and status of the customer (eg. Active, Suspended, etc.)       | Yes |

        | CustomerStateChangeReasonListItem | The GUID and reason of the latest state change.                | No |

        | CustomerTypeListItem     | The GUID and type of customer (eg. Residential, Commerical, Municipal). | No |

        | CustomerCategoryListItem | The GUID and category of the customer (various values).                 | No |

        | CustomerGroupListItem    | The GUID and group of the customer (various values).                    | No |

        | CurrencyListItem         | The GUID and currency of the customer (various values).                 | Yes |

        | RelatedCustomerStateChangeRequest | The GUID, EffectiveDate, RelatedCustomerStateGuid and RelatedChangeReasonGuid of the customer state change request (various values) | No |

        | RelatedBlobHashes| The array of related external documents to the customer. | No |

        | RelatedBlobHashes[0].Hash| The hash of the external document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. | No |

        | RelatedReportBlobs| The array of related report documents to the customer.| No |

        | RelatedReportBlobs[0].Guid| The Guid associated to the customer report.| Yes |

        | RelatedReportBlobs[0].Hash| The hash of the report document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. | No |

        | RelatedReportBlobs[0].DocumentDescription| The description associated to the customer report.| No |

        | RelatedReportBlobs[0].DocumentName| The document name associated to the customer report.| No |

        | RelatedReportBlobs[0].IsForAllSites| Whether the customer report is for all sites of related customer.| No |

        | RelatedReportBlobs[0].RelatedSites| The list of related customer report sites.| No |

        | RelatedReportBlobs[0].RelatedSites[0].Guid| The guid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites| The list of excluded related customer report sites.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites[0].Guid| The guid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.| No |


        **Extra validations**


        | Condition | Error message |

        | --------- | ------------- |

        | ARAccountCode is not null | ARAccountCode should be null |

        | RelatedBlobHashes[0].Hash is not null for Update and the Customer did not have RelatedBlobHashes initially | Failed to save/update Customer because RelatedBlobHashes do not exist for the Customer. |

        | RelatedBlobHashes[0].Hash is not null for Update and Invalid Hash | Failed to retrieve CustomerExternalDocument with MediaContentHash of {value of Hash} |

        | RelatedReportBlobs is not empty for Update and the Customer did not have RelatedReportBlobs initially | Failed to save/update Customer because RelatedReportBlobs do not exist for the Customer. |

        | RelatedReportBlobs[0].Guid is invalid | Failed to retrieve PortalReport with RelatedReportBlobs.Guid of {RelatedReportBlobs.Guid} |

        | RelatedReportBlobs[0].Guid is changed | Failed to save. Customer with RelatedReportBlobs.Guid cannot be set if CustomerReport is not linked to Customer |

        | RelatedReportBlobs[0].Hash is changed | RelatedReportBlobs.Hash is a read-only property |

        | RelatedReportBlobs[0].DocumentDescription is changed | RelatedReportBlobs.DocumentDescription is a read-only property |

        | RelatedReportBlobs[0].IsForAllSites is changed | RelatedReportBlobs.IsForAllSites is a read-only property |

        | RelatedReportBlobs[0].RelatedSites is changed | RelatedReportBlobs.RelatedSites is a read-only property |

        | RelatedReportBlobs[0].RelatedSites.Guid is changed | RelatedReportBlobs.RelatedSites.Guid is a read-only property |

        | RelatedReportBlobs[0].RelatedSites.RelatedSiteGuid is changed | RelatedReportBlobs.RelatedSites.RelatedSiteGuid is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites is changed | RelatedReportBlobs.RelatedExcludedSites is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites.Guid is changed | RelatedReportBlobs.RelatedExcludedSites.Guid is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites.RelatedSiteGuid is changed | RelatedReportBlobs.RelatedExcludedSites.RelatedSiteGuid is a read-only property |

        | Reason Category for state change is not Customer Status Change Reason | Reason Category must be Customer Status Change Reason |

        '
      operationId: Customer_Update
      parameters:
      - name: guid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiIntegratorCustomerResource'
        required: true
        x-bodyName: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceId'
  /directory/customers:
    get:
      tags:
      - Customer
      summary: Find with Filters
      description: '| Property             | Description                                                           |

        | -------------------- | --------------------------------------------------------------------- |

        | GUID                 | The GUID associated to the customer.                                  |

        | Name                 | The customer''s name.                                                  |

        | Reference            | An alternative name used for the customer.                            |

        | ARAccountCode        | The account code used for Accounts Receivable.                        |

        | FederalId            | The customer''s local authority / government /tax reference.           |

        | IsInternal           | Whether the customer is an internal customer.                       |

        | IsResidential   | Whether the customer is a residential customer (as opposed to a commercial). |

        | ReceiveServiceUpdatesByEmail   | Customer receives service updates by email.     |

        | ReceiveServiceUpdatesByText    | Customer receives service updates by text.      |

        | ReceiveMarketingUpdatesByEmail | Customer receives marketing updates by email.   |

        | ReceiveMarketingUpdatesByText  | Customer receives marketing updates by text.    |

        | CompanyListItem          | The GUID and name of the company this customer is associated to.        |

        | CustomerStateListItem    | The GUID and status of the customer (eg. Active, Suspended, etc.)       |

        | CustomerStateChangeReasonListItem | The GUID and reason of the latest state change .               |

        | CustomerTypeListItem     | The GUID and type of customer (eg. Residential, Commerical, Municipal). |

        | CustomerCategoryListItem | The GUID and category of the customer (various values).                 |

        | CustomerGroupListItem    | The GUID and group of the customer (various values).                    |

        | CurrencyListItem         | The GUID and currency of the customer (various values).                 |

        | RelatedCustomerStateChangeRequests| The array of related customer state change requests|

        | RelatedCustomerStateChangeRequests[0].EffectiveDate| The effective date associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedCustomerStateGuid| The related customer state guid associated to the customer state change request|

        | RelatedCustomerStateChangeRequests[0].RelatedChangeReasonGuid| The related customer change reason guid associated to the customer state change request|

        | RelatedBlobHashes| The array of related external documents to the customer. |

        | RelatedBlobHashes[0].Hash| The hash of the external document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs| The array of related report documents to the account customer. |

        | RelatedReportBlobs[0].Guid| The Guid associated to the customer report.|

        | RelatedReportBlobs[0].Hash| The hash of the report document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. |

        | RelatedReportBlobs[0].DocumentDescription| The description associated to the customer report.|

        | RelatedReportBlobs[0].DocumentName| The document name associated to the customer report.|

        | RelatedReportBlobs[0].IsForAllSites| Whether the customer report is for all sites of related customer.|

        | RelatedReportBlobs[0].RelatedSites| The list of related customer report sites.|

        | RelatedReportBlobs[0].RelatedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites| The list of excluded related customer report sites.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].Guid| The guid associated to the customer report site.|

        | RelatedReportBlobs[0].RelatedExcludedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.|

        | RelatedHQLocationGuid| The guid associated to the customer head quarter location.                    |

        '
      operationId: Customer_GetCollection
      parameters:
      - name: filter
        in: query
        schema:
          type: string
      - name: max
        in: query
        schema:
          type: integer
          format: int32
      - name: page
        in: query
        schema:
          type: integer
          format: int32
      - name: includeCount
        in: query
        schema:
          type: boolean
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultCollection_ApiIntegratorCustomerResource'
    post:
      tags:
      - Customer
      summary: Create or update
      description: '| Property             | Description                                                           | Required |

        | -------------------- | --------------------------------------------------------------------- | -------- |

        | GUID                 | The GUID associated to the customer.                                  | No |

        | Name                 | The customer''s name.                                                  | Yes |

        | Reference            | An alternative name used for the customer.                            | No |

        | ARAccountCode        | The account code used for Accounts Receivable. This field must be null. Error "ARAccountCode should be null" is returned when not null. | No |

        | FederalId            | The customer''s local authority / government /tax reference.           | No |

        | IsInternal           | Whether the customer is an internal customer.                         | Yes |

        | IsResidential   | Whether the customer is a residential customer (as opposed to a commercial). | No |

        | ReceiveServiceUpdatesByEmail   | Customer receives service updates by email.                 | Yes |

        | ReceiveServiceUpdatesByText    | Customer receives service updates by text.                  | Yes |

        | ReceiveMarketingUpdatesByEmail | Customer receives marketing updates by email.               | Yes |

        | ReceiveMarketingUpdatesByText  | Customer receives marketing updates by text.                | Yes |

        | CompanyListItem          | The GUID and name of the company this customer is associated to.        | Yes |

        | CustomerStateListItem    | The GUID and status of the customer (eg. Active, Suspended, etc.)       | Yes |

        | CustomerStateChangeReasonListItem | The GUID and reason of the latest state change.                | No |

        | CustomerTypeListItem     | The GUID and type of customer (eg. Residential, Commerical, Municipal). | No |

        | CustomerCategoryListItem | The GUID and category of the customer (various values).                 | No |

        | CustomerGroupListItem    | The GUID and group of the customer (various values).                    | No |

        | CurrencyListItem         | The GUID and currency of the customer (various values).                 | Yes |

        | RelatedCustomerStateChangeRequest | The GUID, EffectiveDate, RelatedCustomerStateGuid and RelatedChangeReasonGuid of the customer state change request (various values) | No |

        | RelatedBlobHashes| The array of related external documents to the customer. | No |

        | RelatedBlobHashes[0].Hash| The hash of the external document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. | No |

        | RelatedReportBlobs| The array of related report documents to the customer.| No |

        | RelatedReportBlobs[0].Guid| The Guid associated to the customer report.| Yes |

        | RelatedReportBlobs[0].Hash| The hash of the report document blob to be used against the /blob endpoint. Files are provided as an octet stream which will need to be converted. | No |

        | RelatedReportBlobs[0].DocumentDescription| The description associated to the customer report.| No |

        | RelatedReportBlobs[0].DocumentName| The document name associated to the customer report.| No |

        | RelatedReportBlobs[0].IsForAllSites| Whether the customer report is for all sites of related customer.| No |

        | RelatedReportBlobs[0].RelatedSites| The list of related customer report sites.| No |

        | RelatedReportBlobs[0].RelatedSites[0].Guid| The guid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites| The list of excluded related customer report sites.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites[0].Guid| The guid associated to the customer report site.| No |

        | RelatedReportBlobs[0].RelatedExcludedSites[0].RelatedSiteGuid| The related customer siteguid associated to the customer report site.| No |


        **Extra validations**


        | Condition | Error message |

        | --------- | ------------- |

        | ARAccountCode is not null | ARAccountCode should be null |

        | RelatedBlobHashes[0].Hash is not null for Insert | Failed to save/update Customer because RelatedBlobHashes creation is not permitted |

        | RelatedBlobHashes[0].Hash is not null for Update and the Customer did not have RelatedBlobHashes initially | Failed to save/update Customer because RelatedBlobHashes do not exist for the Customer. |

        | RelatedBlobHashes[0].Hash is not null for Update and Invalid Hash | Failed to retrieve CustomerExternalDocument with MediaContentHash of {value of Hash} |

        | RelatedReportBlobs[0].Hash is not null for Insert | Failed to save/update Customer because RelatedReportBlobs creation is not permitted |

        | RelatedReportBlobs is not empty for Insert | Failed to save/update Customer because RelatedReportBlobs creation is not permitted |

        | RelatedReportBlobs is not empty for Update and the Customer did not have RelatedReportBlobs initially | Failed to save/update Customer because RelatedReportBlobs do not exist for the Customer. |

        | RelatedReportBlobs[0].Guid is invalid | Failed to retrieve PortalReport with RelatedReportBlobs.Guid of {RelatedReportBlobs.Guid} |

        | RelatedReportBlobs[0].Guid is changed | Failed to save. Customer with RelatedReportBlobs.Guid cannot be set if CustomerReport is not linked to Customer |

        | RelatedReportBlobs[0].Hash is changed | RelatedReportBlobs.Hash is a read-only property |

        | RelatedReportBlobs[0].DocumentDescription is changed | RelatedReportBlobs.DocumentDescription is a read-only property |

        | RelatedReportBlobs[0].IsForAllSites is changed | RelatedReportBlobs.IsForAllSites is a read-only property |

        | RelatedReportBlobs[0].RelatedSites is changed | RelatedReportBlobs.RelatedSites is a read-only property |

        | RelatedReportBlobs[0].RelatedSites.Guid is changed | RelatedReportBlobs.RelatedSites.Guid is a read-only property |

        | RelatedReportBlobs[0].RelatedSites.RelatedSiteGuid is changed | RelatedReportBlobs.RelatedSites.RelatedSiteGuid is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites is changed | RelatedReportBlobs.RelatedExcludedSites is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites.Guid is changed | RelatedReportBlobs.RelatedExcludedSites.Guid is a read-only property |

        | RelatedReportBlobs[0].RelatedExcludedSites.RelatedSiteGuid is changed | RelatedReportBlobs.RelatedExcludedSites.RelatedSiteGuid is a read-only property |

        | Reason Category for state change is not Customer Status Change Reason | Reason Category must be Customer Status Change Reason |

        | A CustomerStateChangeReason is supplied on a insert | CustomerStateChangeReasonListItem is not supported for create |'
      operationId: Customer_Create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiIntegratorCustomerResource'
        required: true
        x-bodyName: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceId'
components:
  schemas:
    ApiResourceId:
      type: object
      properties:
        resource:
          type: string
          format: uuid
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiResourceStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
        isSuccess:
          type: boolean
    ApiIntegratorCustomerResource:
      type: object
      properties:
        Name:
          type: string
        Reference:
          type: string
        ARAccountCode:
          type: string
        FederalId:
          type: string
        IsInternal:
          type: boolean
        ReceiveServiceUpdatesByEmail:
          type: boolean
        ReceiveServiceUpdatesByText:
          type: boolean
        ReceiveMarketingUpdatesByEmail:
          type: boolean
        ReceiveMarketingUpdatesByText:
          type: boolean
        CompanyListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CustomerStateListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CustomerStateChangeReasonListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CustomerTypeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CustomerCategoryListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CustomerGroupListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        CurrencyListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        RelatedBlobHashes:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorCustomerBlobHashesResource'
        RelatedReportBlobs:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorCustomerReportBlobHashesResource'
        RelatedCustomerStateChangeRequests:
          type: array
          items:
            $ref: '#/co

# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amcs-group/refs/heads/main/openapi/amcs-group-customer-api-openapi.yml