v1

latestOpenAPI 3.0.12026-07-243407211.3 MB
Order

Submit a card inventory order request.

This API is used to get inventory order information from partners.


Http Status Code

<table><thead><tr><th>Name</th><th>Comment</th></tr></thead><tbody><tr><td>200</td><td>success</td></tr><tr><td>400</td><td>bad request, like unsupported operation</td></tr><tr><td>401</td><td>Unauthorized</td></tr></tbody></table>

Inventory Management

<table><thead><tr><th>Group</th><th>Property</th><th>Required</th><th>Constraint/Scenario</th><th>HttpStatus</th><th>Code</th><th>Sub Code</th><th>Description</th></tr></thead><tbody><tr><td></td><td>clientReferenceNumber</td><td>Y</td><td>&gt;= 2 characters and &lt;= 40 characters</td><td>400</td><td>400</td><td>Required: 6021,Invalid: 6022</td><td>Unique string sent by partner to identify the request</td></tr><tr><td></td><td>email</td><td>Y</td><td>if provided valid email with max 255 char</td><td>400</td><td>400</td><td>6003</td><td></td></tr><tr><td></td><td>phone</td><td>Y</td><td>if provided, 10 digits</td><td>400</td><td>1040</td><td>6004</td><td></td></tr><tr><td></td><td>company</td><td>N</td><td>If provided, &gt;= 2 characters and &lt;= 40 characters</td><td>400</td><td>400</td><td>6030</td><td></td></tr><tr><td></td><td>companyId</td><td>N</td><td>Is Required if company is provided, &gt;= 2 characters and &lt;= 40 characters</td><td>400</td><td>400</td><td>6031</td><td></td></tr><tr><td></td><td>deliveryType</td><td>Y</td><td></td><td>400</td><td>600</td><td>Required: 6001,Invalid: 6002</td><td>Options: Reg, Onn, Pse, Rush</td></tr><tr><td>lines</td><td>lineType</td><td>Y</td><td>Must be "Plastic"</td><td>400</td><td>600</td><td>Required: 6041,Invalid: 6042</td><td>Options: Plastic, Blank</td></tr><tr><td></td><td>productCode</td><td>Y</td><td>Must be Ceridian GPR product code</td><td>400</td><td>1000</td><td>Required: 6051, Invalid: 6052</td><td>Invalid product code for program</td></tr><tr><td></td><td>inventoryCode</td><td>Y</td><td>&gt;=2 and &lt;=40</td><td>400</td><td>6000</td><td>Required: 6061,Invalid: 6062</td><td></td></tr><tr><td></td><td>quantity</td><td>Y</td><td>&gt;=10 and &lt;=10000</td><td>400</td><td>400</td><td>Required: 6081, Invalid: 6082</td><td></td></tr><tr><td>deliveryAddress</td><td>contactName</td><td>Y</td><td>&gt;= 2 characters and &lt;=35 characters</td><td>400</td><td>400</td><td>Required: 6101,Invalid: 6102</td><td>Contact receiving the shipment</td></tr><tr><td></td><td>addressLine1</td><td>Y</td><td>&gt;= 2 characters and &lt;= 30 characters</td><td>400</td><td>400</td><td>Required: 6111,Invalid: 6112</td><td></td></tr><tr><td></td><td>addressLine2</td><td>N</td><td>&lt;= 30 characters</td><td>400</td><td>400</td><td>6121</td><td></td></tr><tr><td></td><td>city</td><td>Y</td><td>&lt;= 25 characters</td><td>400</td><td>400</td><td>Required: 6131, Invalid: 6132</td><td></td></tr><tr><td></td><td>state</td><td>Y</td><td>Must be two characters</td><td>400</td><td>400</td><td>Required: 6141, Invalid: 6142</td><td></td></tr><tr><td></td><td>postalCode</td><td>Y</td><td>Must be 5 digits only</td><td>400</td><td>400</td><td>Required: 6151, Invalid: 6152</td><td></td></tr><tr><td></td><td>country</td><td>Y</td><td>Must be 3 characters</td><td>400</td><td>600</td><td>Required: 6161, Invalid: 6162</td><td>must be USA</td></tr><tr><td></td><td>residential</td><td>Y</td><td>Must be 1 character</td><td>400</td><td>600</td><td>Required: 6171, Invalid: 6172</td><td>Must be Y or N</td></tr></tbody></table>
post/programs/{programCode}/order

Path parameters

programCodestring required

The program code associated with the inventory order.

Headers

X-GD-RequestIdstring required

The unique request identifier provided in the X-GD-RequestId header for tracking.

Request body

clientReferenceNumberstring required

Required. The unique client reference number for the order. Used for tracking and correlation of the order in client systems.

deliveryTypestring required

Required. The type of delivery requested (e.g., standard, express).

phonestring required

Required. The contact phone number for the order.

companystring required

Required. The name of the company placing the order.

companyIdstring required

Required. The unique identifier for the company placing the order.

emailstring required

Required. The contact email address for the order.

Response

OK

clientReferenceNumberstring nullable

Gets or sets the client reference number associated with the order. Used to correlate the order with the client's internal systems.

orderIdentifierstring nullable

Gets or sets the unique identifier for the order. Used to track and reference the order within the system.

statusstring nullable

Gets or sets the status of the order. Indicates the current state of the order (e.g., "Pending", "Completed", "Cancelled").

orderCreatedstring date-time nullable

Gets or sets the date and time when the order was created. Nullable; may be omitted if not available.