Service items
Service item definitions.
Operations
POST
/v1/quickbooks-desktop/service-itemsLive projects require an Idempotency-Key header. See Idempotency.
# body.json holds the fields from the request body table below.
curl -X POST "https://crossblade.dev/v1/quickbooks-desktop/service-items" \
-H "Authorization: Bearer $CROSSBLADE_SECRET_KEY" \
-H "Conductor-End-User-Id: $CROSSBLADE_END_USER_ID" \
-H "Idempotency-Key: stable-business-operation-id" \
-H "Content-Type: application/json" \
--data @body.json
Request body
From the OpenAPI document, required fields first. Check the fields you use against your customer’s QuickBooks edition and company preferences.
Loading the schema…
Response
Common errors
Create can fail with
IDEMPOTENCY_KEY_REQUIRED- Live writes need an
Idempotency-Keyheader. INVALID_REQUEST- 422 for unknown or unsupported fields, before anything is queued.
INTEGRATION_CONNECTION_ERROR- QuickBooks rejected the record;
integrationCode3100means the name is already in use,3140an invalid reference. QBD_WRITE_OUTCOME_UNKNOWN- HTTP 202: reconcile the durable request before any further write.