# Create or update an xp index

Endpoint: PUT /xpindices
Version: 1.0.445.36017
Security: OAuth2

## Request fields (application/json):

  - `ThingType` (string)
    Enum: "Address", "Variant", "Order", "OrderReturn", "LineItem", "CostCenter", "CreditCard", "Payment", "Spec", "SpecOption", "UserGroup", "Company", "Category", "PriceSchedule", "Shipment", "SpendingAccount", "User", "Promotion", "ApprovalRule", "SellerApprovalRule", "Catalog", "ProductFacet", "MessageSender", "InventoryRecord", "ProductCollection", "Subscription", "GroupOrderInvitation", "BuyerGroup", "Discount"

  - `Key` (string)

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: "404"

  - `ErrorCode` (string)
    Example: "NotFoundError"

  - `Message` (string)
    Example: "Object not found"

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}


## Response 204 fields
