FlxpointAPI Help CenterBeta

Get Source PO Strategy

gethttps://api.flxpoint.com/sources/{sourceId}/purchase-order-strategy

Use this when you want to pull source data through the API.

🔑 X-API-TOKEN⏱ 2 req/sToken: Account · Source · Channel

This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.

Request

Example request

get/sources/{sourceId}/purchase-order-strategy
curl -X GET "https://api.flxpoint.com/sources/{sourceId}/purchase-order-strategy" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN"

Responses

200OKapplication/json
idinteger
sourceIdinteger
autoProcessboolean
maxPoNumberCharactersinteger
overridePurchaseOrderNumberStrategyIdinteger
exceedOverridePurchaseOrderNumberStrategyIdinteger
passOrderCustomFieldsToPoboolean
passOrderItemCustomFieldsToPoboolean
autoGeneratePackingSlipboolean
Always generate and attach packing slips to Fulfillment Requests created for this source
default false
attachShippingLabelsboolean
Always attach auto-purchased shipping labels to Fulfillment Requests created for this source
default true
createShipmentFromShippingLabelboolean
Automatically create a shipment after a shipping label is auto-purchased and the Fulfillment Request is processed or acknowledged. This setting does not apply to manually purchased shipping labels.
default true
useGlobalAndSourceWorkflowStrategyboolean
packingSlipFormatstring
Specifies the default global packing slip format. Can be overridden by the 'Auto Generate Packing Slip' source setting at the source level. Accepted values: 'basic' or 'detailed'.
allowedbasicdetailed
packingSlipOptionsstring
Example response
{
  "id": 0,
  "sourceId": 0,
  "autoProcess": true,
  "maxPoNumberCharacters": 0,
  "overridePurchaseOrderNumberStrategyId": 0,
  "exceedOverridePurchaseOrderNumberStrategyId": 0,
  "passOrderCustomFieldsToPo": true,
  "passOrderItemCustomFieldsToPo": true,
  "autoGeneratePackingSlip": true,
  "attachShippingLabels": true,
  "createShipmentFromShippingLabel": true,
  "useGlobalAndSourceWorkflowStrategy": true,
  "packingSlipFormat": "basic",
  "packingSlipOptions": "string"
}
401Unauthorized

No schema documented for this status.

404Not Found

No schema documented for this status.

OpenAPI fragment
{
  "get": {
    "summary": "Get Source PO Strategy",
    "description": "",
    "parameters": [],
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SourcePurchaseOrderStrategy"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized"
      },
      "404": {
        "description": "Not Found"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight