Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Customer via Web Request / REST API

Hannes
Contributor
November 5, 2022

Hi Community,

I'm trying to create a customer via REST API. I've just copied in a first step the example provided here:

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-customer/

The only things I change is the web request url to:

https://CUSTOMER.atlassian.net/jira/servicedesk/projects/MULTITS/customers

and inside the CURL the url to 

https://CUSTOMER.atlassian.net/rest/servicedeskapi/customer

 

But when I execute the Call I just receive 200 without creation of this dummy user. What am I doing wrong?

Thanks a lot!

Hannes

1 answer

1 accepted

0 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
November 6, 2022

Hi @Hannes 

If your response is 201, then you should probably take a look inside the admin panel, and under "Portal Customers". I did try to create a customer, and since you don't specific state a SD, then the customer will be placed as a Portal Only Customer.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events