Diamra Developer Docs
All pages

Marketplace events

Each event below says when it fires and lists the fields in its data. Event types explains who each event notifies, the fields that events share and the envelope around data.

cad_order.bid_submitted

Recipient: owner

A CAD studio bids on your CAD brief. A new endpoint starts with it picked.

FieldWhat it holds
cad_order_id
Diamra's id for your CAD order, the brief CAD studios bid on.
project_id
Diamra's id for the project, the same as on the studio's messages. bench_url and salon_url use design_image_id instead.
design_image_id
The id of the design the project is for. It is the id in bench_url and salon_url.
bid_id
Diamra's id for the bid.
studio_name
The CAD studio's name.
designer_name
The designer who sent the bid, or null when Diamra doesn't know.
price
What the studio asks for the CAD work, as a plain number. currency names its currency.
currency
The price's three-letter currency code, such as USD.
delivery_days
How many days the studio needs.
deliverables
The files the studio will hand over, such as stl or 3dm.
comment
The studio's note with the bid, or null.
bench_url
Opens the project's bids on your bench. It needs a bench sign-in.

cad_order.messages_unread

Recipient: owner

Messages on your CAD order are still unread. It fires once, then again a day and three days later if nobody on your team opens them. A new endpoint starts with it picked.

FieldWhat it holds
cad_order_id
Diamra's id for your CAD order, the brief CAD studios bid on.
project_id
Diamra's id for the project, the same as on the studio's messages. bench_url and salon_url use design_image_id instead.
design_image_id
The id of the design the project is for. It is the id in bench_url and salon_url.
message_count
How many messages are unread.
diamra_message_count
How many of them came from Diamra's team, not the studio.
reminder_stage
0 the first time, 1 a day later, 2 three days later. After 2 it stays quiet until someone on your team opens the thread.
studio_name
The CAD studio's name.
bench_url
Opens the thread with the studio on your bench. It needs a bench sign-in.