Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (21 sloc) 493 Bytes
#!/bin/sh
json='
{
"currency": "EUR",
"customerGroup": {
"customerGroupNumber": 1
},
"name": "Anti Pesto Ltd.",
"paymentTerms": {
"paymentTermsNumber": 2
},
"vatZone": {
"vatZoneNumber": 1
}
}'
echo $json | curl -i https://rest.reviso.com/customers \
--request POST \
--header "Content-Type: application/json" \
--header "X-AppSecretToken: $APP_SECRET_TOKEN" \
--header "X-AgreementGrantToken: $AGREEMENT_GRANT_TOKEN" \
--data @-
You can’t perform that action at this time.