Deprecated method for revising a purchase order. Pending removable after November 16, 2023. Use PUT
on /api/v3/purchase-orders/{id}
instead.
object Default: {} | |
required | object (PurchaseOrderDetail) |
{- "order_items": [
- {
- "id": 0,
- "name": "string",
- "sku": "string",
- "unit": "string",
- "quantity": "string",
- "price": "string",
- "po_note": "string",
- "custom_fields": [
- {
- "property1": null,
- "property2": null
}
], - "tax_amount": "string",
- "shipping_amount": "string"
}
], - "custom_fields": [ ],
- "PO_Num": "string",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": 0,
- "comment": "string",
- "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": 0,
- "promise_date": "2019-08-24T14:15:22Z",
- "freight": "string",
- "discount": {
- "property1": null,
- "property2": null
}, - "tax": {
- "property1": null,
- "property2": null
}, - "other": "string",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "payment_term_ref": 0,
- "shipping_term_ref": 0,
- "payment_method_ref": 0,
- "shipping_method_ref": 0,
- "creditcard": 0,
- "version": 0,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": 0
}
{- "metadata": { },
- "data": {
- "number": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "purchaser": {
- "id": 0,
- "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "procurify_PO": 0,
- "PO_Num": "string",
- "date": "2019-08-24T14:15:22Z",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "vendor_name": "string",
- "vendor_contact": "string",
- "vendor_addressLineOne": "string",
- "vendor_postalCode": "string",
- "vendor_city": "string",
- "vendor_state_province": "string",
- "vendor_country": "string",
- "payment_terms": "string",
- "shipping_terms": "string",
- "shipping_method": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "promise_date": "2019-08-24T14:15:22Z",
- "subtotal": "string",
- "freight": "string",
- "tax": {
- "value": 0,
- "type": "amount"
}, - "discount": {
- "value": 0,
- "type": "amount"
}, - "other": "string",
- "total": "string",
- "comment": "string",
- "purchased_currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "purchased_currency_rate": "string",
- "active": true,
- "state": 0,
- "fulfilment_status": "empty",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "recorded_date": "2019-08-24T14:15:22Z",
- "closed_date": "2019-08-24T14:15:22Z",
- "last_modified": "2019-08-24T14:15:22Z",
- "staged_for_export": true,
- "version": -2147483648,
- "item_count": 0,
- "most_recent_version": -2147483648,
- "punchout_system": 0,
- "purchase_agreement": 0,
- "purchase_agreement_status": { },
- "punchout_vendor_reference": 0,
- "punchout_supplier_icon": "string",
- "punchout_supplier_name": "string",
- "has_blanket_order_items": true,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": {
- "id": 0,
- "uuid": "string",
- "name": "string"
}, - "order_items": [
- {
- "PO": [
- 0
], - "PO_line_num": -2147483648,
- "account": {
- "id": 0,
- "account_code": {
- "id": 0,
- "applied_accounts_count": 0,
- "code": "string",
- "code_length": -2147483648,
- "description": "string",
- "account_type": 0,
- "active": true,
- "parent": 0
}, - "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "warning_indicator": true,
- "budget_used_approved": 0,
- "budget_used_purchased": 0,
- "start_datetime": "2019-08-24T14:15:22Z",
- "end_datetime": "2019-08-24T14:15:22Z",
- "budget": "string",
- "balance_approved": "string",
- "balance_purchased": "string",
- "active": true
}, - "accountCode": "string",
- "active": true,
- "approved_currency_rate": "string",
- "approved_datetime": "2019-08-24T14:15:22Z",
- "approved_price": "string",
- "approved_quantity": 0,
- "approved_shipping_amount": "string",
- "approved_tax_amount": "string",
- "attachments": [
- {
- "id": 0,
- "attachment": "string",
- "upload_datetime": "2019-08-24T14:15:22Z",
- "name": "string",
- "type": "other",
- "user": 0,
- "item": 0
}
], - "catalog_item": {
- "id": 0,
- "name": "string",
- "image": "string",
- "unitType": "string",
- "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": null,
- "name": null,
- "type": null,
- "data": null,
- "currency": null
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": null,
- "uuid": null,
- "is_active": null,
- "created_at": null,
- "updated_at": null,
- "name": null,
- "number": null,
- "balance": null,
- "gl_code": null,
- "type": null,
- "category": null,
- "external_id": null,
- "status": null,
- "require_activation": null,
- "last_changed_by": null,
- "vendor": null,
- "payment_method": null,
- "currency": null,
- "currency_name": null,
- "creator": null,
- "assignees": [ ]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "account_code": {
- "id": 0,
- "applied_accounts_count": 0,
- "code": "string",
- "code_length": -2147483648,
- "description": "string",
- "account_type": 0,
- "active": true,
- "parent": 0
}, - "internalSKU": "string",
- "description": "string",
- "product_url": "string",
- "currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "price": "string",
- "rfo_lock": true,
- "departments": [
- 0
], - "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": null,
- "name": null,
- "content_type": null,
- "default_value": null,
- "is_required": null,
- "field_choices": [ ],
- "field_type": null,
- "field_label": null,
- "is_active": null
}
}
], - "requested_count": -2147483648,
- "last_requested_date": "2019-08-24T14:15:22Z",
- "selected_account": {
- "property1": null,
- "property2": null
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "dateInvoiced": "2019-08-24T14:15:22Z",
- "external_id": "string",
- "hot": true,
- "id": 0,
- "inventoryItem": 0,
- "is_active": true,
- "item_attachments": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "file": "string",
- "name": "string",
- "user": 0,
- "description": "string",
- "mimetype": "string",
- "length": -2147483648,
- "sha1_hash": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "last_changed_by": 0,
- "last_modified": "2019-08-24T14:15:22Z",
- "lineComment": "string",
- "name": "string",
- "num": "string",
- "orderNum": 0,
- "po_note": "string",
- "po_version": -2147483648,
- "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": null,
- "name": null,
- "description": null,
- "rate": null,
- "base": null,
- "active": null
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- null
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "price": "string",
- "purchase_order": 0,
- "purchaser": {
- "id": 0,
- "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "quantity": 0,
- "receivedFailQty": 0,
- "receivedPassQty": 0,
- "shipping_amount": "string",
- "sku": "string",
- "status": 0,
- "tax_amount": "string",
- "total_cost": "string",
- "unit": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor": "string",
- "receive_method": 0,
- "type": 0,
- "blanket": {
- "price": "string",
- "quantity": 0,
- "amount": 0
}, - "comments": [
- {
- "userprofile": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "id": 0,
- "comment": "string",
- "submit_date": "2019-08-24T14:15:22Z"
}
], - "confirmation_status": 0,
- "confirmation_status_description": "string",
- "cost_details": {
- "subtotal": "string",
- "total_cost": "string",
- "total_cost_in_base_currency": "string",
- "tax_amount": "string"
}, - "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": 0,
- "name": "string",
- "content_type": 0,
- "default_value": "string",
- "is_required": true,
- "field_choices": [
- null
], - "field_type": "t",
- "field_label": "string",
- "is_active": true
}
}
], - "date_required": "2019-08-24T14:15:22Z",
- "fully_received_actual_receive_date": "2019-08-24",
- "has_sibling_items": true,
- "line_comment": "string",
- "logs": [
- {
- "id": 0,
- "user": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "next_approver": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "nextApprover": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "approval_delegation": {
- "approval_delegatee": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null,
- "department": { }
}, - "expected_return_date": "2019-08-24",
- "delegator": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "setter": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}
}, - "dateTime": "2019-08-24T14:15:22Z",
- "action": 0,
- "line_qty_pass": "string",
- "line_qty_fail": "string",
- "order": 0,
- "lineItem": 0,
- "PO": 0,
- "inventoryItem": 0,
- "stocking_parent": 0
}
], - "order_description": "string",
- "order_status": 0,
- "order_uuid": "e56795c7-0bc3-4742-a52f-988d2af8608f",
- "punchout_supplier_icon": "string",
- "punchout_supplier_name": "string",
- "punchout_system": 0,
- "punchout_vendor_reference": 0,
- "punchout_supplier_can_update_quantity": true,
- "purchase_order_number": "string",
- "purchase_order_uuid": "62208f57-ed5e-48b5-8bf2-30e42f35ea6f",
- "purchased_currency_rate": "0.000000",
- "recurrence": {
- "id": 0,
- "start_date": "2019-08-24",
- "frequency": 0,
- "duration": 0,
- "duration_quantity": 1,
- "recurring_price": "string",
- "periods_count": 0
}, - "requester": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "profile_image": "string",
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "spend_allocation": [
- {
- "id": 0,
- "amount": "string",
- "account": {
- "id": 0,
- "account_code": {
- "id": null,
- "code": null,
- "code_length": null,
- "description": null,
- "account_type": null,
- "active": null,
- "parent": null
}, - "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "active": true
}
}
], - "submitted_date": "2019-08-24T14:15:22Z",
- "taxes": [
- {
- "id": 0,
- "type": "percent",
- "value": "string",
- "name": "string"
}
], - "receive_log_count": 0,
- "approval_history": [
- {
- "id": 0,
- "user": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "next_approver": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "nextApprover": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "approval_delegation": {
- "approval_delegatee": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null,
- "department": { }
}, - "expected_return_date": "2019-08-24",
- "delegator": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "setter": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}
}, - "dateTime": "2019-08-24T14:15:22Z",
- "action": 0,
- "line_qty_pass": "string",
- "line_qty_fail": "string",
- "order": 0,
- "lineItem": 0,
- "PO": 0,
- "inventoryItem": 0,
- "stocking_parent": 0
}
], - "flags": [
- {
- "color": "string",
- "symbol": "string",
- "object_id": 4294967295,
- "content_type": 0
}
]
}
], - "creditcard_is_editable": true,
- "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": 0,
- "name": "string",
- "content_type": 0,
- "default_value": "string",
- "is_required": true,
- "field_choices": [
- "string"
], - "field_type": "t",
- "field_label": "string",
- "is_active": true
}
}
], - "creditcard": {
- "id": 0,
- "name": "string",
- "number": "string",
- "vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "overall_score": "string",
- "is_auto_email_po_enabled": true
}, - "type": 0,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}, - "balance": -2147483648,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "profile_image": "string",
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}
], - "last_reconciliation_date": "2019-08-24T14:15:22Z",
- "last_reconciliation_balance": 0,
- "session": {
- "creditcard": 0,
- "balance": "string",
- "statement_date": "2019-08-24T14:15:22Z"
}, - "gl_code": "string",
- "last_statement_date": "2019-08-24T14:15:22Z"
}, - "payment_term": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "cost_details": {
- "subtotal": "string",
- "total_cost": "string",
- "total_cost_in_base_currency": "string",
- "tax_amount": "string"
}, - "punchout_is_retriable": true
}
}
Purchase Order State Codes
Order Type | Code |
---|---|
PURCHASED | 0 |
CANCELLED | 1 |
(legacy code) | 2 |
CLOSED | 3 |
PAID | 4 |
REOPENED | 5 |
required | object (PermissionsEditDelete) |
required | object (PurchaseOrderDetail) |
{- "metadata": {
- "can_edit": true,
- "can_delete": true
}, - "data": {
- "number": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "purchaser": {
- "id": 0,
- "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "procurify_PO": 0,
- "PO_Num": "string",
- "date": "2019-08-24T14:15:22Z",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string"
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "vendor_name": "string",
- "vendor_contact": "string",
- "vendor_addressLineOne": "string",
- "vendor_postalCode": "string",
- "vendor_city": "string",
- "vendor_state_province": "string",
- "vendor_country": "string",
- "payment_terms": "string",
- "shipping_terms": "string",
- "shipping_method": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "promise_date": "2019-08-24T14:15:22Z",
- "subtotal": "string",
- "freight": "string",
- "tax": {
- "value": 0,
- "type": "amount"
}, - "discount": {
- "value": 0,
- "type": "amount"
}, - "other": "string",
- "total": "string",
- "comment": "string",
- "purchased_currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "purchased_currency_rate": "string",
- "active": true,
- "state": 0,
- "fulfilment_status": "empty",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "recorded_date": "2019-08-24T14:15:22Z",
- "closed_date": "2019-08-24T14:15:22Z",
- "last_modified": "2019-08-24T14:15:22Z",
- "staged_for_export": true,
- "version": -2147483648,
- "item_count": 0,
- "most_recent_version": -2147483648,
- "punchout_system": 0,
- "purchase_agreement": 0,
- "purchase_agreement_status": { },
- "punchout_vendor_reference": 0,
- "punchout_supplier_icon": "string",
- "punchout_supplier_name": "string",
- "has_blanket_order_items": true,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": {
- "id": 0,
- "uuid": "string",
- "name": "string"
}, - "order_items": [
- {
- "PO": [
- 0
], - "PO_line_num": -2147483648,
- "account": {
- "id": 0,
- "account_code": {
- "id": 0,
- "applied_accounts_count": 0,
- "code": "string",
- "code_length": -2147483648,
- "description": "string",
- "account_type": 0,
- "active": true,
- "parent": 0
}, - "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "warning_indicator": true,
- "budget_used_approved": 0,
- "budget_used_purchased": 0,
- "start_datetime": "2019-08-24T14:15:22Z",
- "end_datetime": "2019-08-24T14:15:22Z",
- "budget": "string",
- "balance_approved": "string",
- "balance_purchased": "string",
- "active": true
}, - "accountCode": "string",
- "active": true,
- "approved_currency_rate": "string",
- "approved_datetime": "2019-08-24T14:15:22Z",
- "approved_price": "string",
- "approved_quantity": 0,
- "approved_shipping_amount": "string",
- "approved_tax_amount": "string",
- "attachments": [
- {
- "id": 0,
- "attachment": "string",
- "upload_datetime": "2019-08-24T14:15:22Z",
- "name": "string",
- "type": "other",
- "user": 0,
- "item": 0
}
], - "catalog_item": {
- "id": 0,
- "name": "string",
- "image": "string",
- "unitType": "string",
- "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": null,
- "name": null,
- "type": null,
- "data": null,
- "currency": null
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": null,
- "uuid": null,
- "is_active": null,
- "created_at": null,
- "updated_at": null,
- "name": null,
- "number": null,
- "balance": null,
- "gl_code": null,
- "type": null,
- "category": null,
- "external_id": null,
- "status": null,
- "require_activation": null,
- "last_changed_by": null,
- "vendor": null,
- "payment_method": null,
- "currency": null,
- "currency_name": null,
- "creator": null,
- "assignees": [ ]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "account_code": {
- "id": 0,
- "applied_accounts_count": 0,
- "code": "string",
- "code_length": -2147483648,
- "description": "string",
- "account_type": 0,
- "active": true,
- "parent": 0
}, - "internalSKU": "string",
- "description": "string",
- "product_url": "string",
- "currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "price": "string",
- "rfo_lock": true,
- "departments": [
- 0
], - "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": null,
- "name": null,
- "content_type": null,
- "default_value": null,
- "is_required": null,
- "field_choices": [ ],
- "field_type": null,
- "field_label": null,
- "is_active": null
}
}
], - "requested_count": -2147483648,
- "last_requested_date": "2019-08-24T14:15:22Z",
- "selected_account": {
- "property1": null,
- "property2": null
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "dateInvoiced": "2019-08-24T14:15:22Z",
- "external_id": "string",
- "hot": true,
- "id": 0,
- "inventoryItem": 0,
- "is_active": true,
- "item_attachments": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "file": "string",
- "name": "string",
- "user": 0,
- "description": "string",
- "mimetype": "string",
- "length": -2147483648,
- "sha1_hash": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "last_changed_by": 0,
- "last_modified": "2019-08-24T14:15:22Z",
- "lineComment": "string",
- "name": "string",
- "num": "string",
- "orderNum": 0,
- "po_note": "string",
- "po_version": -2147483648,
- "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": null,
- "name": null,
- "description": null,
- "rate": null,
- "base": null,
- "active": null
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- null
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "price": "string",
- "purchase_order": 0,
- "purchaser": {
- "id": 0,
- "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "quantity": 0,
- "receivedFailQty": 0,
- "receivedPassQty": 0,
- "shipping_amount": "string",
- "sku": "string",
- "status": 0,
- "tax_amount": "string",
- "total_cost": "string",
- "unit": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor": "string",
- "receive_method": 0,
- "type": 0,
- "blanket": {
- "price": "string",
- "quantity": 0,
- "amount": 0
}, - "comments": [
- {
- "userprofile": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "id": 0,
- "comment": "string",
- "submit_date": "2019-08-24T14:15:22Z"
}
], - "confirmation_status": 0,
- "confirmation_status_description": "string",
- "cost_details": {
- "subtotal": "string",
- "total_cost": "string",
- "total_cost_in_base_currency": "string",
- "tax_amount": "string"
}, - "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": 0,
- "name": "string",
- "content_type": 0,
- "default_value": "string",
- "is_required": true,
- "field_choices": [
- null
], - "field_type": "t",
- "field_label": "string",
- "is_active": true
}
}
], - "date_required": "2019-08-24T14:15:22Z",
- "fully_received_actual_receive_date": "2019-08-24",
- "has_sibling_items": true,
- "line_comment": "string",
- "logs": [
- {
- "id": 0,
- "user": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "next_approver": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "nextApprover": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "approval_delegation": {
- "approval_delegatee": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null,
- "department": { }
}, - "expected_return_date": "2019-08-24",
- "delegator": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "setter": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}
}, - "dateTime": "2019-08-24T14:15:22Z",
- "action": 0,
- "line_qty_pass": "string",
- "line_qty_fail": "string",
- "order": 0,
- "lineItem": 0,
- "PO": 0,
- "inventoryItem": 0,
- "stocking_parent": 0
}
], - "order_description": "string",
- "order_status": 0,
- "order_uuid": "e56795c7-0bc3-4742-a52f-988d2af8608f",
- "punchout_supplier_icon": "string",
- "punchout_supplier_name": "string",
- "punchout_system": 0,
- "punchout_vendor_reference": 0,
- "punchout_supplier_can_update_quantity": true,
- "purchase_order_number": "string",
- "purchase_order_uuid": "62208f57-ed5e-48b5-8bf2-30e42f35ea6f",
- "purchased_currency_rate": "0.000000",
- "recurrence": {
- "id": 0,
- "start_date": "2019-08-24",
- "frequency": 0,
- "duration": 0,
- "duration_quantity": 1,
- "recurring_price": "string",
- "periods_count": 0
}, - "requester": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "profile_image": "string",
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "spend_allocation": [
- {
- "id": 0,
- "amount": "string",
- "account": {
- "id": 0,
- "account_code": {
- "id": null,
- "code": null,
- "code_length": null,
- "description": null,
- "account_type": null,
- "active": null,
- "parent": null
}, - "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "active": true
}
}
], - "submitted_date": "2019-08-24T14:15:22Z",
- "taxes": [
- {
- "id": 0,
- "type": "percent",
- "value": "string",
- "name": "string"
}
], - "receive_log_count": 0,
- "approval_history": [
- {
- "id": 0,
- "user": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "next_approver": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "nextApprover": {
- "id": 0,
- "department": {
- "id": null,
- "branch": null,
- "external_id": null,
- "name": null,
- "punchout_email": null,
- "active": null
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": null,
- "department": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "expected_return_date": "2019-08-24"
}, - "approval_delegation": {
- "approval_delegatee": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null,
- "department": { }
}, - "expected_return_date": "2019-08-24",
- "delegator": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}, - "setter": {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null
}
}, - "dateTime": "2019-08-24T14:15:22Z",
- "action": 0,
- "line_qty_pass": "string",
- "line_qty_fail": "string",
- "order": 0,
- "lineItem": 0,
- "PO": 0,
- "inventoryItem": 0,
- "stocking_parent": 0
}
], - "flags": [
- {
- "color": "string",
- "symbol": "string",
- "object_id": 4294967295,
- "content_type": 0
}
]
}
], - "creditcard_is_editable": true,
- "custom_fields": [
- {
- "id": 0,
- "value": "string",
- "field": {
- "id": 0,
- "name": "string",
- "content_type": 0,
- "default_value": "string",
- "is_required": true,
- "field_choices": [
- "string"
], - "field_type": "t",
- "field_label": "string",
- "is_active": true
}
}
], - "creditcard": {
- "id": 0,
- "name": "string",
- "number": "string",
- "vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "overall_score": "string",
- "is_auto_email_po_enabled": true
}, - "type": 0,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}, - "balance": -2147483648,
- "assignees": [
- {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "profile_image": "string",
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}
], - "last_reconciliation_date": "2019-08-24T14:15:22Z",
- "last_reconciliation_balance": 0,
- "session": {
- "creditcard": 0,
- "balance": "string",
- "statement_date": "2019-08-24T14:15:22Z"
}, - "gl_code": "string",
- "last_statement_date": "2019-08-24T14:15:22Z"
}, - "payment_term": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "cost_details": {
- "subtotal": "string",
- "total_cost": "string",
- "total_cost_in_base_currency": "string",
- "tax_amount": "string"
}, - "punchout_is_retriable": true
}
}
required | object (PurchaseOrderListMeta) |
required | Array of objects (PurchaseOrderDocs) |
{- "metadata": {
- "counts": {
- "purchased": {
- "all": 0,
- "open": 0,
- "partial": 0,
- "closed": 0,
- "cancelled": 0,
- "page": 0
}, - "receivable": {
- "all": 0,
- "open": 0,
- "partial": 0,
- "closed": 0,
- "cancelled": 0,
- "page": 0
}
}, - "pagination": {
- "count": 0,
- "next": "string",
- "previous": "string",
- "page_size": 0,
- "num_pages": 0,
- "current_page": 0
}
}, - "data": [
- {
- "number": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "purchaser": {
- "id": 0,
- "department": {
- "id": 0,
- "branch": {
- "id": 0,
- "name": "string"
}, - "external_id": "string",
- "name": "string",
- "punchout_email": "user@example.com",
- "active": true
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "position": "string",
- "phone": "string",
- "address": "string",
- "notifications": true,
- "is_active": true,
- "mobile": true,
- "profile_image": "string",
- "slack_user_id": "string",
- "is_sso_enabled": true,
- "last_changed_by": 0,
- "user": 0,
- "approval_delegatee": {
- "id": 0,
- "department": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com"
}, - "expected_return_date": "2019-08-24"
}, - "procurify_PO": 0,
- "PO_Num": "string",
- "date": "2019-08-24T14:15:22Z",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": {
- "id": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "addressAssociation": 1,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "last_changed_by": 0
}, - "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "phoneOne": "string",
- "phoneTwo": "string",
- "fax": "string",
- "email": [
- "user@example.com"
], - "comments": "string",
- "contact": "string",
- "url": "string",
- "external_id": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "currency": 0,
- "payment_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_term_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "shipping_method_ref": {
- "id": 0,
- "name": "string",
- "description": "string",
- "active": true
}, - "payment_methods": [
- {
- "id": 0,
- "name": "string",
- "type": 0,
- "data": null,
- "currency": {
- "id": 0,
- "name": "string",
- "description": "string",
- "rate": "string",
- "base": true,
- "active": true
}
}
], - "tax": 0,
- "type": 2,
- "default_payment_method": 0,
- "creditcards": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "number": "string",
- "balance": -2147483648,
- "gl_code": "string",
- "type": 0,
- "category": 0,
- "external_id": "string",
- "status": "pending",
- "require_activation": true,
- "last_changed_by": 0,
- "vendor": 0,
- "payment_method": 0,
- "currency": 0,
- "currency_name": "string",
- "creator": 0,
- "assignees": [
- {
- "id": null,
- "firstName": null,
- "lastName": null,
- "email": null,
- "profile_image": null
}
]
}
], - "is_1099_eligible": true,
- "overall_score": 0,
- "is_auto_email_po_enabled": true,
- "po_pdf_labels": "string"
}, - "vendor_name": "string",
- "vendor_contact": "string",
- "vendor_addressLineOne": "string",
- "vendor_postalCode": "string",
- "vendor_city": "string",
- "vendor_state_province": "string",
- "vendor_country": "string",
- "payment_terms": "string",
- "shipping_terms": "string",
- "shipping_method": "string",
- "promise_date": "2019-08-24T14:15:22Z",
- "subtotal": "string",
- "freight": "string",
- "tax": {
- "value": 0,
- "type": "amount"
}, - "discount": {
- "value": 0,
- "type": "amount"
}, - "other": "string",
- "total": "string",
- "comment": "string",
- "purchased_currency": {
- "id": 0,
- "name": "string",
- "rate": "string",
- "base": true
}, - "purchased_currency_rate": "string",
- "active": true,
- "state": 0,
- "fulfilment_status": "empty",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "recorded_date": "2019-08-24T14:15:22Z",
- "closed_date": "2019-08-24T14:15:22Z",
- "last_modified": "2019-08-24T14:15:22Z",
- "staged_for_export": true,
- "version": -2147483648,
- "item_count": 0,
- "most_recent_version": -2147483648,
- "punchout_system": 0,
- "purchase_agreement": 0,
- "purchase_agreement_status": { },
- "punchout_vendor_reference": 0,
- "punchout_supplier_icon": "string",
- "punchout_supplier_name": "string",
- "has_blanket_order_items": true,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": {
- "id": 0,
- "uuid": "string",
- "name": "string"
}
}
]
}
object Default: {} | |
required | object (PurchaseOrderUpdate) |
{- "order_items": [
- {
- "id": 0,
- "name": "string",
- "sku": "string",
- "unit": "string",
- "quantity": "string",
- "price": "string",
- "po_note": "string",
- "custom_fields": [
- {
- "property1": null,
- "property2": null
}
], - "tax_amount": "string",
- "shipping_amount": "string"
}
], - "custom_fields": [ ],
- "PO_Num": "string",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": 0,
- "comment": "string",
- "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": 0,
- "promise_date": "2019-08-24T14:15:22Z",
- "freight": "string",
- "discount": {
- "property1": null,
- "property2": null
}, - "tax": {
- "property1": null,
- "property2": null
}, - "other": "string",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "payment_term_ref": 0,
- "shipping_term_ref": 0,
- "payment_method_ref": 0,
- "shipping_method_ref": 0,
- "creditcard": 0,
- "version": 0,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": 0
}
{- "metadata": { },
- "data": {
- "order_items": [
- {
- "id": 0,
- "name": "string",
- "sku": "string",
- "unit": "string",
- "quantity": "string",
- "price": "string",
- "po_note": "string",
- "custom_fields": [
- {
- "property1": null,
- "property2": null
}
], - "tax_amount": "string",
- "shipping_amount": "string"
}
], - "PO_Num": "string",
- "buyer_name": "string",
- "buyer_contact": "string",
- "buyer_addressLineOne": "string",
- "buyer_postalCode": "string",
- "buyer_city": "string",
- "buyer_state_province": "string",
- "buyer_country": "string",
- "buyer_address": 0,
- "comment": "string",
- "receiver_name": "string",
- "receiver_contact": "string",
- "receiver_addressLineOne": "string",
- "receiver_postalCode": "string",
- "receiver_city": "string",
- "receiver_state_province": "string",
- "receiver_country": "string",
- "receiver_address": 0,
- "promise_date": "2019-08-24T14:15:22Z",
- "freight": "string",
- "discount": {
- "property1": null,
- "property2": null
}, - "tax": {
- "property1": null,
- "property2": null
}, - "other": "string",
- "disclaimer_description": "string",
- "disclaimer_text": "string",
- "payment_term_ref": 0,
- "shipping_term_ref": 0,
- "payment_method_ref": 0,
- "shipping_method_ref": 0,
- "creditcard": 0,
- "version": 0,
- "expiry_date": "2019-08-24T14:15:22Z",
- "contract": 0
}
}
object Default: {} | |
required | object (PurchaseOrderReadDocs) |
{- "metadata": { },
- "data": {
- "id": 0,
- "PO_Num": "string",
- "date": "2019-08-24T14:15:22Z",
- "discount": {
- "value": 0,
- "type": "amount"
}, - "freight": "string",
- "fulfilment_status": "empty",
- "item_count": 0,
- "last_modified": "2019-08-24T14:15:22Z",
- "number": "string",
- "other": "string",
- "pref_vendor": {
- "id": 0,
- "name": "string",
- "active": true,
- "addressLineOne": "string",
- "addressLineTwo": "string",
- "postalCode": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "overall_score": "string",
- "is_auto_email_po_enabled": true
}, - "procurify_PO": 0,
- "promise_date": "2019-08-24T14:15:22Z",
- "punchout_system": 0,
- "purchase_agreement": 0,
- "purchase_agreement_status": { },
- "purchased_currency": {
- "id": 0,
- "name": "string",
- "rate": "string"
}, - "purchased_currency_rate": "string",
- "purchaser": {
- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "user@example.com",
- "profile_image": "string",
- "department_name": "string",
- "branch_name": "string"
}, - "state": 0,
- "subtotal": "string",
- "total": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "version": -2147483648,
- "punchout_items_rejected": true,
- "total_amount": "string",
- "currency": "",
- "email_status": "string",
- "email_status_updated_at": "2019-08-24T14:15:22Z",
- "punchout_supplier_name": "string",
- "punchout_supplier_icon": "string",
- "punchout_vendor_reference": 0,
- "punchout_is_retriable": true,
- "has_blanket_order_items": true,
- "expiry_date": "2019-08-24T14:15:22Z"
}
}
object Default: {} | |
required | Array of objects (PurchaseOrderBillingHistory) |
{- "metadata": { },
- "data": [
- {
- "id": 0,
- "number": "string",
- "has_unbilled_unreceived_items": true,
- "items": [
- {
- "id": 0,
- "billed_qty": "0.00000000",
- "received_qty": "0.00000"
}
]
}
]
}