Question

Updating Multiple Custom Fields

  • 31 December 2022
  • 1 reply
  • 39 views

Userlevel 3
Badge +8

Hello,

I am creating a PO through the API based on a ticket. I can fill one custom value. It doesn’t matter if the custom field is on the ticket or the PO. However, when I try to do two, it fails.

Do I have a separate entry for each entry, e.g.

 "custom_fields": {
    "requestor": "{{ticket.requester.name}}"

  },

 "custom_fields": {
    "shipping address": "{{ticket.shipping_address}}"

  },

or do it do it combined?

 "custom_fields": {
    "requestor": "{{ticket.requester.name}}"

    "shipping address": "{{ticket.shipping_address}}"

  },

 


1 reply

Userlevel 3
Badge +5

Hi @michaelmartel,

 

I believe you can combine the two fields. Could you please check if you are separating the two fields with a comma(following the first field) as seen below? 

"custom_fields": {
    "custom_field_1": "{{ticket.sample_1}}",

    "custom_field_2": "{{ticket.sample_2}}"

  }

 

Regards,

Sona 

Freshdesk, Freshchat, Freshcaller product expert

Are you interested in learning more about how our services can help add value to your business? Check out our Professional Services to know more & get started.

 

Reply