Create an invoice
curl --request POST \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"
payload = {}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Invoices
Create an invoice
Create an invoice
POST
/
invoices
Create an invoice
curl --request POST \
--url https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'import requests
url = "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices"
payload = {}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Body
application/json
The body is of type object.
Response
200 - application/json
Successful response
Was this page helpful?
⌘I