Monta
Monta API

Price Groups Tags


Retrieve price group tags.

GET
https://partner-api.monta.com
/api/v1/price-group-tags

Required scope: price-groups:read
Organization authorization: supported

Retrieve price group tags. › query Parameters

page
​integer · int32

Page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

Number of items per page (between 1 and 100, default 10)

Default: 10
name
​string | null

Filter to retrieve resources by the specified name.

Example: Energy
partnerExternalId
​string | null

Filter resources by partnerExternalId, to filter only resources without partnerExternalId use partnerExternalId=""

Example: 1A2B

Retrieve price group tags. › Responses

Price group tags for a given filter

​PriceGroupTag[] · required
​MontaPage.Meta · required

Create a price group tag

POST
https://partner-api.monta.com
/api/v1/price-group-tags

Required scope: price-groups:write
Organization authorization: supported

Create a price group tag › Request Body

name
​string · minLength: 1 · required

Name of the tag. names are unique and cannot be reused.

Example: Energy
description
​string | null

Description of the tag.

Example: Can be used to group `Energy` pricing elements
partnerExternalId
​string | null

External Id of this entity, managed by you.

Example: ACME-12345
​object | null

Custom JSON payload for this entity, managed by you.
Note: the expected shape is a flat JSON object with named keys. The payload is limited to 1000 characters.

Example: {"internalId":"ACME-12345","department":"Fleet"}

Create a price group tag › Responses

Price group tag created

name
​string · required

The name for this tag.

Example: Energy
createdAt
​string · date-time · required

Creation date of this resource.

Example: 2022-05-12T15:56:45.99Z
id
​integer · int64

The id for this tag.

Example: null
description
​string | null

The description for this tag.

Example: Used to group `Energy` pricing elements
partnerExternalId
​string | null

External Id of this entity, managed by you.

Example: ACME-12345
​object | null

Custom JSON payload for this entity, managed by you.
Note: the expected shape is a flat JSON object with named keys.

Example: {"internalId":"ACME-12345","department":"Fleet"}
​object

The operator to which this resource belongs to.

updatedAt
​string | null · date-time

Last update date of this resource.

Example: 2022-05-12T16:56:45.99Z

Retrieve a single price group tag

GET
https://partner-api.monta.com
/api/v1/price-group-tags/{id}

Required scope: price-groups:read
Organization authorization: supported

Retrieve a single price group tag › path Parameters

id
​integer · int64 · required

Retrieve a single price group tag › Responses

Price group tag with provided id

name
​string · required

The name for this tag.

Example: Energy
createdAt
​string · date-time · required

Creation date of this resource.

Example: 2022-05-12T15:56:45.99Z
id
​integer · int64

The id for this tag.

Example: null
description
​string | null

The description for this tag.

Example: Used to group `Energy` pricing elements
partnerExternalId
​string | null

External Id of this entity, managed by you.

Example: ACME-12345
​object | null

Custom JSON payload for this entity, managed by you.
Note: the expected shape is a flat JSON object with named keys.

Example: {"internalId":"ACME-12345","department":"Fleet"}
​object

The operator to which this resource belongs to.

updatedAt
​string | null · date-time

Last update date of this resource.

Example: 2022-05-12T16:56:45.99Z

Update a price group tag

PATCH
https://partner-api.monta.com
/api/v1/price-group-tags/{id}

Required scope: price-groups:write
Organization authorization: supported

Update a price group tag › path Parameters

id
​integer · int64 · required

Update a price group tag › Request Body

name
​string | null

Name of the tag.

Example: Energy
description
​string | null

Description of the tag.

Example: Can be used to group `Energy` pricing elements
partnerExternalId
​string | null

External Id of this entity, managed by you.

Example: ACME-12345
​object | null

Custom JSON payload for this entity, managed by you.
Note: the expected shape is a flat JSON object with named keys. The payload is limited to 1000 characters.

Example: {"internalId":"ACME-12345","department":"Fleet"}

Update a price group tag › Responses

Price group tag updated

name
​string · required

The name for this tag.

Example: Energy
createdAt
​string · date-time · required

Creation date of this resource.

Example: 2022-05-12T15:56:45.99Z
id
​integer · int64

The id for this tag.

Example: null
description
​string | null

The description for this tag.

Example: Used to group `Energy` pricing elements
partnerExternalId
​string | null

External Id of this entity, managed by you.

Example: ACME-12345
​object | null

Custom JSON payload for this entity, managed by you.
Note: the expected shape is a flat JSON object with named keys.

Example: {"internalId":"ACME-12345","department":"Fleet"}
​object

The operator to which this resource belongs to.

updatedAt
​string | null · date-time

Last update date of this resource.

Example: 2022-05-12T16:56:45.99Z

Delete an existing price group tag

DELETE
https://partner-api.monta.com
/api/v1/price-group-tags/{id}

Required scope: price-groups:delete
Organization authorization: supported

Delete an existing price group tag › path Parameters

id
​integer · int64 · required

Delete an existing price group tag › Responses

Price group tag deleted

No data returned