User Details

Send POST Request with Headers

curl --location --request POST 'https://sandbox-api.photoncommerce.com/api/pro?url=string&webhook_url=string&doctype=string&ID=string' \
          --header 'CLIENT-ID: string' \
          --header 'AUTHORIZATION: apikey your_username:your_api_key' \
          --header 'PASSWORD: string' \
          --header 'SECRET-KEY: string' \
          --data ''
import requests
  
  url = "https://sandbox-api.photoncommerce.com/api/pro?url=string&webhook_url=string&doctype=string&ID=string"
  
  payload = ""
  headers = {
    'CLIENT-ID': 'string',
    'AUTHORIZATION': 'apikey your_username:your_api_key',
    'PASSWORD': 'string',
    'SECRET-KEY': 'string'
  }
  
  response = requests.request("POST", url, headers=headers, data=payload)
  print(response.text)