ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  client: {
                      addresses: {
                          city: string
                          | null;
                          country: string | null;
                          id: string;
                          postalCode: string | null;
                          state: string | null;
                          street: string | null;
                      }[];
                      email: string
                      | null;
                      id: string;
                      name: string;
                      phone: string | null;
                  };
                  deliveryLines: (
                      {
                          finishedProduct: { code: string; id: string; name: string }
                          | null;
                          salesOrderLine:
                              | {
                                  deliveredQuantity: number;
                                  id: string;
                                  quantity: number;
                                  remainingQuantity: number;
                              }
                              | null;
                      } & {}
                  )[];
                  salesOrder: { id: string; number: string; orderDate: Date }
                  | null;
                  transporter: { code: string; id: string; name: string } | null;
              } & {},
          >,
      >