---
title: "au-widget-pim-ajax/interfaces/configuration | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-pim-ajax.interfaces.configuration/"
---

# au-widget-pim-ajax/interfaces/configuration

> - [`IDesignVariantApiPointParams`](#idesignvariantapipointparams)

## Interfaces

### IApiPointParams

#### Extended by

#### Properties

##### enabled

```ts
enabled: boolean;
```

##### productFilterId?

```ts
optional productFilterId?: number;
```

##### skip?

```ts
optional skip?: number;
```

##### take?

```ts
optional take?: number;
```

***

### IConfigProductInformationAJAX

A widget that is used to get product interface.

```json
{
  "widgets": [
    {
      "name": "pim-ajax",
      "type": "pim-ajax",
      "params": {
        "productId": "{{ Product.id }}",
        "options": {"7804":"11519"},  // { "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }
        "settings": {
             "designs": {
                 "enabled": true
              },
             "variants": {
                 "enabled": true
              },
             "mockups": {
                 "enabled": true
              }
         },
         "eventsCallbacks": {
              "options": {
                "onError": "{{ #function(err) console.warn(err); }}",
                "onSuccess": "{{ #function(response) console.warn(response); }}"
              },
              "designs": {
                 "onError": "{{ #function(err) console.warn(err); }}",
                 "onSuccess": "{{ #function(response) console.warn(response); }}"
              },
              "variants": {
                 "onError": "{{ #function(err) console.warn(err); }}",
                 "onSuccess": "{{ #function(response) console.warn(response); }}"
              }
          }
          }
        ]
      }
    }
  ]
}
```

#### Properties

##### choices

```ts
choices: Record<string, number[]>;
```

##### currentSku

```ts
currentSku: string;
```

##### eventsCallbacks

```ts
eventsCallbacks: object;
```

###### designs

```ts
designs: IEventCallbacks;
```

###### mockups

```ts
mockups: IEventCallbacks;
```

###### options

```ts
options: IEventCallbacks;
```

###### variants

```ts
variants: IEventCallbacks;
```

##### options

```ts
options: Record<string, string | string[]>;
```

##### productId?

```ts
optional productId?: number;
```

##### productLinkId?

```ts
optional productLinkId?: number;
```

##### productVersionId?

```ts
optional productVersionId?: number;
```

##### settings

```ts
settings: object;
```

###### designs

```ts
designs: IDesignVariantApiPointParams;
```

###### mockups

```ts
mockups: IApiPointParams;
```

###### variants

```ts
variants: IApiPointParams;
```

***

### IDesignVariantApiPointParams

#### Extends

- [`IApiPointParams`](#iapipointparams)

#### Properties

##### designPath

```ts
designPath: string;
```

##### enabled

```ts
enabled: boolean;
```

###### Inherited from

[`IApiPointParams`](#iapipointparams).[`enabled`](#enabled)

##### productFilterId?

```ts
optional productFilterId?: number;
```

###### Inherited from

[`IApiPointParams`](#iapipointparams).[`productFilterId`](#productfilterid)

##### skip?

```ts
optional skip?: number;
```

###### Inherited from

[`IApiPointParams`](#iapipointparams).[`skip`](#skip)

##### take?

```ts
optional take?: number;
```

###### Inherited from

[`IApiPointParams`](#iapipointparams).[`take`](#take)

***

### IEventCallbacks

#### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` | `any` |

#### Properties

##### onError

```ts
onError: (error?) => void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `error?` | `any` |

###### Returns

`void`

##### onSuccess

```ts
onSuccess: (response?) => void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `response?` | `T` |

###### Returns

`void`
