#matt-customer-taxids

1 messages · Page 1 of 1 (latest)

drowsy rampartBOT
marble karma
#

👋 Hey @gentle talon

#

let's talk here and let me know what you need help with!

gentle talon
#

I tried to add ta_id_data as paramaters in the POST /customer endpoint in php. For instance

#

....,'tax_id_data' => [
'type' => 'eu_vat,
'value' => 'FR123456789'
],

#

but it says me "param": "tax_id_data", Invalid array

marble karma
#

you need an array or arrays in PHP

#

matt-customer-taxids

gentle talon
#

Yes but I cant figure the way he wants it

#

['tax_id_data' => ['type' => 'eu_vat', value' => 'FR123456789']]

marble karma
#
  [
    'type' => 'eu_vat',
    value' => 'FR123456789',
  ]
]```
gentle talon
#

arf I missed a bracket

#

thank you very much