Struct Docs
Struct.PIM 4
Struct.PIM 4
  • Struct PIM Documentation
  • API Reference
  • Latest updates from Struct HQ
  • Latest updates in Documentation
  • Fundamental concepts
    • Get familiar with Struct PIM
    • Catalogues & categories
    • Products & variants
    • Attributes
    • Product structures
    • Identifiers
    • Global lists
    • Localization & segmentation
    • Revisions & changelog
    • Publications
    • Supplier onboarding portal
  • Tutorials
    • Helpful guides
      • How to search efficiently
      • How to use Import
        • How to import products
        • How to import data into a list property on entities
        • How to import categories
        • How to import with media
        • How to use File templates
    • Example projects
      • Working with the API
  • Integration
    • Integrate with Struct PIM
    • Web API
    • Webhooks
  • Media format
  • API Reference
    • Introduction
    • Endpoints
      • AssetFolders
      • Assets
      • AssetTypes
      • AttributeGroups
      • Attributes
      • AttributeScopes
      • Browse
      • BusinessUnits
      • Catalogues
      • Categories
      • Dimensions
      • Exports
      • EnrichmentInsightSetups
      • GlobalLists
      • Languages
      • Maintenance
      • Miscellaneous
      • Messaging
      • Permissions
      • Products
      • ProductStructures
      • Publications
      • Transactions
      • UserGroup
      • UserRoles
      • Users
      • VariantGroups
      • UserTasks
      • Variants
      • Webhooks
      • Workflows
      • Models
Powered by GitBook
On this page
  1. API Reference
  2. Endpoints

Miscellaneous

PreviousMaintenanceNextMessaging

The Miscellaneous endpoints allows you to get general information about the status of the API and the PIM installation as well as the ability to manage objects which are shared between entities in Struct PIM.

Get currently running PIM Version

get
Authorizations
Responses
200
OK
get
GET /v1/Version HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

{
  "VersionNumber": "text"
}

Get an indication if the API is alive

get

Returns "Is alive", if API is running correctly

Authorizations
Responses
200
OK
get
GET /v1/Heartbeat HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

{
  "Message": "text"
}

Get all archive reasons

get

#Available from v.3.3.0

Authorizations
Responses
200
OK
get
GET /v1/misc/archivereasons HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "Uid": "123e4567-e89b-12d3-a456-426614174000",
    "Name": "text"
  }
]

Get an archive reason

get

#Available from v.3.3.0

Authorizations
Path parameters
uidstring · uuidRequired

Id of archive reason

Responses
200
OK
get
GET /v1/misc/archivereasons/{uid} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

{
  "Uid": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text"
}

Delete an archive reason

delete

#Available from v.3.3.0

Authorizations
Path parameters
uidstring · uuidRequired

Id of archive reason

Responses
200
OK
delete
DELETE /v1/misc/archivereasons/{uid} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

No content

Get model definitions for products, variants, categories and global lists

get

#Available from v.3.2.0 Get complete the model descriptions for products, variants and categories, usable for migration tools, Model classes scaffolding etc.

Authorizations
Responses
200
OK
get
GET /v1/misc/models HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

OK

{
  "ProductModels": [
    {
      "Alias": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ]
    }
  ],
  "VariantModels": [
    {
      "Alias": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ]
    }
  ],
  "CategoryModels": [
    {
      "Alias": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ]
    }
  ],
  "VariantGroupModels": [
    {
      "Alias": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ]
    }
  ],
  "GlobalListModels": [
    {
      "Alias": "text",
      "DataType": "text",
      "Localized": true,
      "IsMultiValue": true,
      "DimensionSpecific": true,
      "ReferencedAttribute": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ],
      "Name": "text",
      "Description": "text"
    }
  ],
  "CategoryAttributeModels": [
    {
      "Alias": "text",
      "DataType": "text",
      "Localized": true,
      "IsMultiValue": true,
      "DimensionSpecific": true,
      "ReferencedAttribute": "text",
      "Properties": [
        {
          "Alias": "text",
          "DataType": "text",
          "Localized": true,
          "IsMultiValue": true,
          "DimensionSpecific": true,
          "ReferencedAttribute": "text",
          "Properties": [
            "[Circular Reference]"
          ],
          "Name": "text",
          "Description": "text"
        }
      ],
      "Name": "text",
      "Description": "text"
    }
  ]
}
  • GETGet currently running PIM Version
  • GETGet an indication if the API is alive
  • GETGet all archive reasons
  • POSTCreate new archive reason
  • PUTUpdate archive reason
  • GETGet an archive reason
  • DELETEDelete an archive reason
  • GETGet model definitions for products, variants, categories and global lists

Create new archive reason

post

#Available from v.3.3.0

Authorizations
Body

An archive reason defines a reason that can be chosen when archiving products or variants in the system

Uidstring · uuidOptional

Unique id of archive reason

Namestring | nullableOptional

Presented name of archive reason

Responses
200
OK
post
POST /v1/misc/archivereasons HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 60

{
  "Uid": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text"
}
200

OK

{
  "Uid": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text"
}

Update archive reason

put

#Available from v.3.3.0

Authorizations
Body

An archive reason defines a reason that can be chosen when archiving products or variants in the system

Uidstring · uuidOptional

Unique id of archive reason

Namestring | nullableOptional

Presented name of archive reason

Responses
200
OK
put
PUT /v1/misc/archivereasons HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 60

{
  "Uid": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text"
}
200

OK

{
  "Uid": "123e4567-e89b-12d3-a456-426614174000",
  "Name": "text"
}