Openapi
Return the trade-in or sale card of an asset, or null when none exists.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidReturns the trade card or null.
application/jsonaskingPriceCents*|nullassetId*stringuuidcostsCents*minorUnitsSchema-99999999999999 <= value <= 99999999999999currency*string3 <= length <= 3id*assetTradeCardIdSchemauuidinternalBalanceCents*minorUnitsSchema-99999999999999 <= value <= 99999999999999notes*string|nullorganizationId*organizationIdSchemauuidpurchaseInvoiceId*|uuidpurchasePriceCents*|nullpurchasedOn*|nullsalePriceCents*|nullsalesInvoiceId*|uuidsoldOn*|nullstatus*assetTradeCardStatusSchema"purchased""for_sale""reserved""sold""closed"curl -X GET 'https://app.localhost/api/v1/organizations/123/customer-assets/{customerAssetId}/trade-card'{ "askingPriceCents": -99999999999999, "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8", "costsCents": -99999999999999, "currency": "str", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "internalBalanceCents": -99999999999999, "notes": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "purchaseInvoiceId": "cc88887c-391a-4bd2-b540-5ce6088c6130", "purchasePriceCents": -99999999999999, "purchasedOn": "2019-08-24", "salePriceCents": -99999999999999, "salesInvoiceId": "05ef9df7-7d13-4f3f-ac05-1d721036b4b2", "soldOn": "2019-08-24", "status": "purchased"}