• Organization
  • Customer
  • Product
  • Entitlement
Cloud
Customer Service Management / Reference / REST API

Product

Postman Collection
OpenAPI
GET

Get products

Permissions required: Jira Service Management agent.

read:product:jira-service-management

Request

Query parameters

limit

integer

cursor

string

Responses

Returns paginated list of products.

application/json

PaginatedProducts
GET/api/v1/product
1 2 3 4 curl --request GET \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 { "results": [ { "id": "3858a61a-d337-42e6-993e-e13e1c366d4f", "name": "Acme Widget" } ], "nextPageCursor": "<string>" }
POST

Create product

Permissions required: Jira Service Management agent.

write:product:jira-service-management

Request

Request bodyapplication/json

The name of the product.

name

string

Required

Responses

Returns the created product.

application/json

Product
POST/api/v1/product
1 2 3 4 5 6 7 8 curl --request POST \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "Acme Widget" }'
200Response
1 2 3 4 { "id": "3858a61a-d337-42e6-993e-e13e1c366d4f", "name": "Acme Widget" }
GET

Get product

Permissions required: Jira Service Management agent.

read:product:jira-service-management

Request

Path parameters

productId

string

Required

Responses

Returns the requested product.

application/json

Product
GET/api/v1/product/{productId}
1 2 3 4 curl --request GET \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 { "id": "3858a61a-d337-42e6-993e-e13e1c366d4f", "name": "Acme Widget" }
PUT

Rename product

Permissions required: Jira Service Management agent.

write:product:jira-service-management

Request

Path parameters

productId

string

Required

Request bodyapplication/json

The new name of the product.

name

string

Required

Responses

Returns the updated product.

application/json

Product
PUT/api/v1/product/{productId}
1 2 3 4 5 6 7 8 curl --request PUT \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "Acme Widget" }'
200Response
1 2 3 4 { "id": "3858a61a-d337-42e6-993e-e13e1c366d4f", "name": "Acme Widget" }
DEL

Delete product

Deletes a product and all entitlements associated with it. You cannot restore a detail field once it has been deleted.

Permissions required: Administer Jira global permission.

delete:product:jira-service-management

Request

Path parameters

productId

string

Required

Responses

On success, returns no response.

DEL/api/v1/product/{productId}
1 2 3 curl --request DELETE \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \ --header 'Authorization: Bearer <access_token>'

Rate this page: