RFQs
Create and submit RFQ
Create a new RFQ in Submitted status with strict validation.
Required fields:
- client_id: Client requesting the quote
- pic_id: Person in charge (staff member)
- requested_by_id: Contact who requested this RFQ
- requested_response_date: When client needs response
- planned_response_date: When you plan to respond
- note: RFQ description/notes
- line_items: At least 1 line item required
Optional fields:
- ref_id: Client reference number
- attachment_link: URL to supporting documents
Use this when:
- RFQ is complete and ready for processing
- All required information is available
- Client has been notified
Line Item Status:
- All line items automatically set to “Submitted”
Example:
{
"client_id": "client-uuid",
"pic_id": "user-uuid",
"requested_by_id": "contact-uuid",
"requested_response_date": "2024-03-15",
"planned_response_date": "2024-03-10",
"note": "Urgent spring collection request",
"line_items": [
{
"master_style_id": "style-uuid",
"pic_id": "user-uuid",
"moq": 100
}
]
}
POST
Create and submit RFQ
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Schema for creating a submitted RFQ (strict validation)
Client ID (required)
Person in charge (required)
Contact who requested the RFQ (required)
Response date required for submission
Planned date required for submission
RFQ notes/description (required)
At least one line item required for submission
Minimum array length:
1Previous
List all RFQs with paginationRetrieve a paginated list of RFQs with filtering, sorting, and search capabilities.
**Query Parameters:**
- `page`: Page number (default: 1)
- `limit`: Items per page (default: 10, max: 100)
- `status`: Filter by RFQ status
- `sort`: Sort field (prefix with `-` for descending, e.g., `-created_at`)
- `search`: Search in document_id
**Available Status Values:**
- Draft
- Submitted
- Work in progress
- Partially approved
- Approved
- Rejected
**Sort Fields:**
- `created_at` (default: `-created_at` - newest first)
- `planned_response_date`
- `document_id`
- `status`
**Examples:**
- Get first page: `GET /rfqs`
- Filter by status: `GET /rfqs?status=Submitted`
- Search: `GET /rfqs?search=vin_RFQ_0001`
- Sort by date ascending: `GET /rfqs?sort=created_at`
- Combine filters: `GET /rfqs?status=Submitted&page=2&limit=20&sort=-created_at`
Next
Create and submit RFQ