Overview
/
Developer Tools
/
API Reference
/
Factory
/
Preview your Factory quote's shipping, tax, credits, and total without accepting it or charging a card.

Preview your Factory quote's shipping, tax, credits, and total without accepting it or charging a card

Billing: No usage charge

Path parameters

  • /{job_id}

    stringUUID
    //
  • /{quote_id}

    stringUUID
    //

Query string parameters

  • ?payment_attempt_id=

    UUID
    //
  • &use_credits=

    boolean
    //

Response

  • 200 OK
    • //
      • account_balance_adjustment_cents:

        numberint64,
        //
      • amount_due_cents:

        numberint64,
        //
      • available_credits_cents:

        numberint64,
        //
      • credits_applied_cents:

        numberint64,
        //
      • currency:

        string,
        //
      • quote_id:

        stringUUID,
        //
      • shipping_cents:

        numberint64,
        //
      • subtotal_cents:

        numberint64,
        //
      • tax_cents:

        numberint64,
        //
      • total_cents:

        numberint64
        //
      }

Examples

get
/user/factory/jobs/{job_id}/quotes/{quote_id}/preview
200 OK
Response