Bowmark AIdocs

2nd Swing Golf

2nd Swing's Value Guide — search a golf club and get its real instant cash trade-in offer, the same number the site's own widget shows before any contact…

2nd Swing's Value Guide — search a golf club and get its real instant cash trade-in offer, the same number the site's own widget shows before any contact info is collected.

Domain: 2ndswing.com

Also known as: 2nd Swing, 2ndSwing, 2nd Swing Golf, Second Swing

Call it directly

bowmark.providers.secondswing.searchClubs({ searchText }: SecondswingSearchArgs): Promise<SecondswingClubModel[]>
bowmark.providers.secondswing.getQuoteAttributes({ sku }: SecondswingSkuArgs): Promise<SecondswingQuoteAttributes>
bowmark.providers.secondswing.getTradeInValue({ sku, attributeSelections }: SecondswingTradeInArgs): Promise<SecondswingTradeInValue>

Functions

FunctionWhat it does
searchClubsRuns the Value Guide's model quick-search and returns matching club SKUs with brand/category/model.
getQuoteAttributesLists the condition and club-number options the Value Guide needs before it will price a SKU.
getTradeInValueReturns the real instant cash trade-in offer for a SKU + condition/club-number selection.

Types

interface SecondswingClubModel {
  sku: string;
  name: string;
  brand: string | null;
  category: string | null;
  model: string | null;
}

interface SecondswingQuoteAttribute {
  code: string;
  name: string;
  values: Array<{ id: number; value: string }>;
}

interface SecondswingAttributeSelection {
  attributeCode: string;
  valueId: number;
}

interface SecondswingSearchArgs {
  searchText: string;
}

interface SecondswingSkuArgs {
  sku: string;
}

interface SecondswingTradeInArgs {
  sku: string;
  attributeSelections: SecondswingAttributeSelection[];
}

interface SecondswingQuoteAttributes {
  sku: string;
  attributes: SecondswingQuoteAttribute[];
}

interface SecondswingTradeInValue {
  sku: string;
  cashValue: number;
}